-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Polish color indicator and itemgroup. #37028
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
.component-color-indicator { | ||
width: 25px; | ||
height: 16px; | ||
margin-left: 0.8rem; | ||
border: 1px solid #dadada; | ||
width: $grid-unit-50 * 0.5; | ||
height: $grid-unit-50 * 0.5; | ||
border-radius: 50%; | ||
border: $border-width solid $gray-300; | ||
display: inline-block; | ||
|
||
& + & { | ||
margin-left: 0.5rem; | ||
} | ||
Comment on lines
-8
to
-10
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This change could cause some layout glitches in other parts of Gutenberg There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I haven't found any places where this rule would apply. As is, I removed it because it appears to be dead CSS. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure it's dead CSS — this rule would potentially affect those situations where 2 or more I scanned the codebase and found a few places that we should check to make sure we didn't introduce a layout regressions:
|
||
padding: 0; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍