style: fix issues

This commit is contained in:
David Ralph
2021-04-08 20:02:31 +01:00
parent 2670c917b7
commit eaa992ce16
8 changed files with 12 additions and 13 deletions

View File

@@ -29,7 +29,7 @@ export default class Marketplace extends React.PureComponent {
version: '1.0.0',
icon: ''
}
}
};
this.buttons = {
uninstall: <button className='removeFromMue' onClick={() => this.manage('uninstall')}>Remove</button>,
install: <button className='addToMue' onClick={() => this.manage('install')}>Add to Mue</button>

View File

@@ -117,7 +117,6 @@ ul.sidebar {
padding-left: 0;
height: 100vh;
background: var(--sidebar);
left: 0;
border-radius: 12px 0 0 12px;
text-align: left;
font-size: 24px;

View File

@@ -37,7 +37,7 @@ export default class ColourSettings extends React.PureComponent {
toast(this.language.toasts.reset);
}
InitializeColorPickerState(gradientSettings) {
initialiseColorPickerState(gradientSettings) {
this.GradientPickerInitalState = {
points: gradientSettings.gradient.map((g) => {
const rgb = hexToRgb(g.colour);
@@ -145,7 +145,7 @@ export default class ColourSettings extends React.PureComponent {
let gradientInputs;
if (gradientHasMoreThanOneColour) {
if (this.GradientPickerInitalState === undefined) {
this.InitializeColorPickerState(this.state.gradientSettings);
this.initialiseColorPickerState(this.state.gradientSettings);
}
gradientInputs = (

View File

@@ -79,5 +79,5 @@ export default function Tab(props) {
</li>
{(divider === true) ? <hr/> : null}
</>
)
);
}