Skip to content

Commit

Permalink
Tweak color panel styling
Browse files Browse the repository at this point in the history
Most of the previous style changes were absorbed in separate PR on color control.
  • Loading branch information
aaronrobertshaw committed Oct 29, 2021
1 parent 76d0c4b commit 34f273f
Showing 1 changed file with 4 additions and 24 deletions.
28 changes: 4 additions & 24 deletions packages/block-editor/src/hooks/color.scss
Original file line number Diff line number Diff line change
@@ -1,29 +1,9 @@
.color-block-support-panel {
.components-base-control__label {
display: flex;
align-items: center;
}

.components-circular-option-picker__swatches {
display: grid;
grid-template-columns: repeat(6, 28px);
margin-right: 0;
margin-bottom: $grid-unit-10;
row-gap: $grid-unit-15;
justify-content: space-between;
}

.components-circular-option-picker__option-wrapper,
.components-angle-picker-control {
margin: 0;
}

.components-notice__content,
.components-circular-option-picker__dropdown-link-action {
margin-right: 0;
}

.block-editor-contrast-checker {
grid-column: span 2;

.components-notice__content {
margin-right: 0;
}
}
}

0 comments on commit 34f273f

Please sign in to comment.