Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Z-index on color palette #172

Open
mhkeller opened this issue Jul 7, 2015 · 2 comments
Open

Z-index on color palette #172

mhkeller opened this issue Jul 7, 2015 · 2 comments

Comments

@mhkeller
Copy link

mhkeller commented Jul 7, 2015

Granted the use of this many colors is obscene but the z-indexing is off if you exceed more than few rows.

screen shot 2015-07-07 at 3 02 13 pm

@yanofsky
Copy link
Contributor

yanofsky commented Jul 9, 2015

this is more important than just aesthetics.

The swatches under the "color" and "right axis" can't be selected

@mhkeller
Copy link
Author

The z-index battle on this one is pernicious due to nested elements. As a quick fix, I've added the following style adjustments on here.

The width is specific to using the six color scales but the other adjustments (putting it above the colorpicker) could be part of a more generic solution. One big issue, though, is if you have a color picker as the first element, such as on the chartbuilder-ui demo page, and your els will go off the top of the page.

.cb-colorpicker-els
    width 260px
    top -310px
    &.active::after
        top auto
        bottom 7px

screen shot 2015-07-22 at 11 09 43 am

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

No branches or pull requests

2 participants