11.wp-block-gallery.components-placeholder {
2- margin : 0 px ;
2+ margin : 0 ;
33}
44
55// Allow gallery items to go edge to edge.
6- .gutenberg .wp-block-gallery :not ( .components-placeholder ) {
6+ .gutenberg .wp-block-gallery :not (.components-placeholder ) {
77 margin-left : -8px ;
88 margin-right : -8px ;
99}
1010
1111// Don't use negative margins when full-wide.
12- .gutenberg [data-align = " full" ] .wp-block-gallery :not ( .components-placeholder ) {
12+ .gutenberg [data-align = " full" ] .wp-block-gallery :not (.components-placeholder ) {
1313 margin-left : auto ;
1414 margin-right : auto ;
1515}
1616
1717.blocks-gallery-item {
1818
1919 .is-selected {
20- outline : 4px solid theme ( primary );
20+ outline : 4px solid theme (primary );
2121 outline-offset : -4px ;
2222 }
2323
3232 overflow-y : auto ;
3333 }
3434
35- .editor-rich-text figcaption :not ( [data-is-placeholder-visible = " true" ] ) {
35+ .editor-rich-text figcaption :not ([data-is-placeholder-visible = " true" ]) {
3636 position : relative ;
3737 overflow : hidden ;
3838 }
3939
4040 .is-selected .editor-rich-text {
41- width : calc ( 100% - 8px );
41+ width : calc (100% - 8px );
4242 left : 4px ;
4343 margin-top : -4px ;
4444
8484 position : absolute ;
8585 top : 0 ;
8686 right : 0 ;
87- background-color : theme ( primary );
87+ background-color : theme (primary );
8888 display : inline-flex ;
89- z-index : z-index ( ' .core-blocks-gallery-item__inline-menu' );
89+ z-index : z-index (" .core-blocks-gallery-item__inline-menu" );
9090
9191 .components-button {
9292 color : $white ;
105105 position : absolute ;
106106 top : 50% ;
107107 left : 50% ;
108- transform : translate ( -50% , -50% );
108+ transform : translate (-50% , -50% );
109109}
110110
111111// IE11 doesn't support object-fit or flex very well, so we inline-block.
112- @media all and ( -ms-high-contrast : none ) {
113- * ::-ms-backdrop , .blocks-gallery-item {
112+ @media all and (-ms-high-contrast : none ) {
113+ * ::-ms-backdrop ,
114+ .blocks-gallery-item {
114115 display : inline-block ;
115116 }
116117
117- * ::-ms-backdrop , .blocks-gallery-item img {
118+ * ::-ms-backdrop ,
119+ .blocks-gallery-item img {
118120 width : 100% ;
119121 }
120- }
122+ }
0 commit comments