mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-06 04:38:05 +02:00
Props aristath, adamsilverstein, SergeyBiryukov, gziolo. Fixes #56388. Built from https://develop.svn.wordpress.org/trunk@55193 git-svn-id: http://core.svn.wordpress.org/trunk@54726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
36 lines
1.2 KiB
CSS
36 lines
1.2 KiB
CSS
.wp-block-group .block-editor-block-list__insertion-point{
|
|
left:0;
|
|
right:0;
|
|
}
|
|
|
|
[data-type="core/group"].is-selected .block-list-appender{
|
|
margin-left:0;
|
|
margin-right:0;
|
|
}
|
|
[data-type="core/group"].is-selected .has-background .block-list-appender{
|
|
margin-bottom:18px;
|
|
margin-top:18px;
|
|
}
|
|
|
|
.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child{
|
|
gap:inherit;
|
|
pointer-events:none;
|
|
}
|
|
.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child,.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child .block-editor-default-block-appender__content,.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child .block-editor-inserter{
|
|
display:inherit;
|
|
flex:1;
|
|
flex-direction:inherit;
|
|
width:100%;
|
|
}
|
|
.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child:after{
|
|
border:1px dashed;
|
|
border-radius:2px;
|
|
content:"";
|
|
display:flex;
|
|
flex:1 0 48px;
|
|
min-height:46px;
|
|
pointer-events:none;
|
|
}
|
|
.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child .block-editor-inserter{
|
|
pointer-events:all;
|
|
} |