Skip to content

Conversation

rwam
Copy link

@rwam rwam commented Mar 14, 2017

If you use the option showPaletteOnly: true then there isn't an opportunity to reset the color. I've implemented a possible solution by adding another button in the palette. It looks like the screenshot below.

spectrum-empty-button

See also issues 354 and 369

@FCsean
Copy link

FCsean commented Mar 24, 2020

Found a bug.

.sp-container .sp-clear-palette-only {
    display: none;
}

Should be after

.sp-clear-enabled .sp-clear {
    display: block;
    position:absolute;
    top:0px;
    right:0;
    bottom:0;
    left:84%;
    height: 28px;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants