mirror of
https://github.com/mue/mue.git
synced 2026-07-10 22:14:39 +02:00
fix: consitency of reset icons
This commit is contained in:
@@ -51,6 +51,14 @@
|
||||
margin-top: 10px;
|
||||
width: 283px;
|
||||
}
|
||||
|
||||
.link {
|
||||
margin-top: 10px;
|
||||
display: flex;
|
||||
flex-flow: row;
|
||||
gap: 15px;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@ import variables from 'modules/variables';
|
||||
import { PureComponent } from 'react';
|
||||
import { toast } from 'react-toastify';
|
||||
import { TextField } from '@mui/material';
|
||||
import { MdRefresh } from 'react-icons/md';
|
||||
|
||||
import EventBus from 'modules/helpers/eventbus';
|
||||
|
||||
@@ -72,6 +73,7 @@ class Text extends PureComponent {
|
||||
/>
|
||||
)}
|
||||
<span className="link" onClick={this.resetItem}>
|
||||
<MdRefresh />
|
||||
{variables.getMessage('modals.main.settings.buttons.reset')}
|
||||
</span>
|
||||
</>
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import variables from 'modules/variables';
|
||||
import { PureComponent } from 'react';
|
||||
|
||||
import { MdAutoAwesome } from 'react-icons/md';
|
||||
|
||||
import Header from '../Header';
|
||||
import Radio from '../Radio';
|
||||
import Dropdown from '../Dropdown';
|
||||
@@ -106,6 +108,7 @@ export default class TimeSettings extends PureComponent {
|
||||
InputLabelProps={{ shrink: true }}
|
||||
/>
|
||||
<span className="link" onClick={() => this.getAuto()}>
|
||||
<MdAutoAwesome />
|
||||
{variables.getMessage('modals.main.settings.sections.weather.auto')}
|
||||
</span>
|
||||
</SettingsItem>
|
||||
|
||||
Reference in New Issue
Block a user