mirror of
https://github.com/mue/mue.git
synced 2026-07-15 21:13:54 +02:00
style: fix issues
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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 = (
|
||||
|
||||
@@ -79,5 +79,5 @@ export default function Tab(props) {
|
||||
</li>
|
||||
{(divider === true) ? <hr/> : null}
|
||||
</>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user