Skip to content

Commit

Permalink
Fixes duplicate CSS (#27311)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tammie Lister authored Nov 26, 2020
1 parent 6c4ae1a commit d4ef8c3
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions packages/block-library/src/gallery/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,13 @@
list-style-type: none;
}

.wp-block-gallery {
// Override the default list style type _only in the editor_
// to avoid :not() selector specificity issues.
// See https://github.com/WordPress/gutenberg/pull/10358
li {
list-style-type: none;
// @todo: this deserves a refactor, by being moved to the toolbar.
.block-editor-media-placeholder.is-appender {
.components-placeholder__label {
display: none;
}
// @todo: this deserves a refactor, by being moved to the toolbar.
.block-editor-media-placeholder.is-appender {
.components-placeholder__label {
display: none;
}
.block-editor-media-placeholder__button {
margin-bottom: 0;
}
.block-editor-media-placeholder__button {
margin-bottom: 0;
}
}
}
Expand Down

0 comments on commit d4ef8c3

Please sign in to comment.