Skip to content

Commit

Permalink
12647 fix css color picker (#12747)
Browse files Browse the repository at this point in the history
* Update css to fix padding with colorPicker

* Focus on to numbers

* Requested changes
  • Loading branch information
kadencewp authored and youknowriad committed Mar 6, 2019
1 parent 86d5dbe commit 6f4cbb1
Showing 1 changed file with 5 additions and 1 deletion.
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;
}

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

0 comments on commit 6f4cbb1

Please sign in to comment.