File tree Expand file tree Collapse file tree 3 files changed +3
-24
lines changed
block-editor/src/components/list-view Expand file tree Collapse file tree 3 files changed +3
-24
lines changed Original file line number Diff line number Diff line change @@ -641,6 +641,7 @@ function ListViewBlock( {
641
641
tabIndex,
642
642
onClick : clearSettingsAnchorRect ,
643
643
onFocus,
644
+ size : 'small' ,
644
645
} }
645
646
disableOpenOnArrowDown
646
647
expand = { expand }
Original file line number Diff line number Diff line change 78
78
}
79
79
80
80
& :focus ::after {
81
- box-shadow :
82
- inset 0 0 0 1px $white ,
83
- 0 0 0 var (--wp-admin-border-width-focus )
84
- var (--wp-block-synced-color );
81
+ box-shadow : inset 0 0 0 var (--wp-admin-border-width-focus ) var (--wp-block-synced-color );
85
82
}
86
83
}
87
84
& .is-selected .block-editor-list-view-block-contents ,
308
305
.block-editor-list-view-block__menu-cell ,
309
306
.block-editor-list-view-block__mover-cell {
310
307
line-height : 0 ;
311
- width : $button-size ;
308
+ width : $button-size-small + $grid-unit-05 ;
312
309
vertical-align : middle ;
313
310
314
311
> * {
323
320
opacity : 1 ;
324
321
}
325
322
}
326
-
327
- & ,
328
- .components-button.has-icon {
329
- width : $button-size-small ;
330
- min-width : $button-size-small ;
331
- padding : 0 ;
332
- }
333
- }
334
-
335
- .block-editor-list-view-block__menu-cell {
336
- padding-right : $grid-unit-05 ;
337
-
338
- .components-button.has-icon {
339
- height : 24px ;
340
- }
341
323
}
342
324
343
325
.block-editor-list-view-block__mover-cell-alignment-wrapper {
Original file line number Diff line number Diff line change 8
8
}
9
9
10
10
.edit-site-sidebar-navigation-screen-navigation-menus__content {
11
- .block-editor-list-view-leaf .block-editor-list-view-block__contents-cell {
12
- width : 100% ;
13
- }
14
-
15
11
.block-editor-list-view-leaf .block-editor-list-view-block-contents {
16
12
white-space : normal ;
17
13
}
You can’t perform that action at this time.
0 commit comments