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

12647 fix css color picker #12747

Merged
merged 3 commits into from
Feb 4, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion packages/components/src/color-picker/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
position: relative;
}
.components-color-picker__body {
padding: 16px 16px 12px;
padding: $grid-size-large 0 #{ $grid-size-small * 3 };
}
.components-color-picker__controls {
display: flex;
Expand Down Expand Up @@ -199,6 +199,10 @@
fieldset {
flex: 1;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a linebreak after this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added this to the latest


.components-color-picker__inputs-fields .components-text-control__input[type="number"] {
padding: 2px;
}
}
.components-color-picker__inputs-fields {
display: flex;
Expand Down