fix: font settings and quote widget

This commit is contained in:
David Ralph
2021-04-08 19:52:17 +01:00
parent 5cf9bd74f4
commit 2670c917b7
17 changed files with 26 additions and 24 deletions

View File

@@ -126,7 +126,6 @@ ul.sidebar {
text-align: center;
}
svg {
vertical-align: middle;
font-size: 35px;

View File

@@ -33,7 +33,6 @@ ul {
border-radius: 12px;
outline: none;
background: var(--sidebar);
border-radius: 12px;
box-shadow: 0 0 100px rgba(0, 0, 0, 0.3);
&::-webkit-slider-thumb {

View File

@@ -29,7 +29,7 @@ export default class Radio extends React.PureComponent {
<FormControl component='fieldset'>
<FormLabel className='radio-title' component='legend'>{this.props.title}</FormLabel>
<RadioGroup aria-label={this.props.name} name={this.props.name} onChange={this.handleChange} value={this.state.value}>
{this.props.options.map(option => (
{this.props.options.map((option) => (
<FormControlLabel value={option.value} control={<RadioUI/>} label={option.name} key={option.name} />
))}
</RadioGroup>

View File

@@ -12,7 +12,7 @@ export default class Text extends React.PureComponent {
}
handleChange = (e) => {
const { value } = e.target;
let { value } = e.target;
// Alex wanted font to work with montserrat and Montserrat, so I made it work
if (this.props.upperCaseFirst === true) {

View File

@@ -17,7 +17,7 @@ export default class About extends React.PureComponent {
photographers: [],
update: window.language.modals.main.settings.sections.about.version.checking_update,
loading: window.language.modals.main.loading
}
};
this.language = window.language.modals.main.settings.sections.about;
}

View File

@@ -58,7 +58,7 @@ export default class BackgroundSettings extends React.PureComponent {
'name': 'Unsplash',
'value': 'unsplash'
}
]
];
const APISettings = (
<>