Issue #3471490 by nayana_mvr, smustgrave, larowlan: field:not(:last-child) does not work with layout builder in olivero

(cherry picked from commit f99f198961)
merge-requests/10501/head
nod_ 2024-11-26 15:53:26 +01:00
parent 8f2324ba39
commit 0aeedd16e5
No known key found for this signature in database
GPG Key ID: 76624892606FA197
3 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,15 @@
/*
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/3084859
* @preserve
*/
/**
* @file
* Visual styles for fields.
*/
.block-layout-builder:not(:last-child) .field {
margin-block-end: var(--sp2);
}

View File

@ -0,0 +1,8 @@
/**
* @file
* Visual styles for fields.
*/
.block-layout-builder:not(:last-child) .field {
margin-block-end: var(--sp2);
}

View File

@ -37,6 +37,7 @@ global-styling:
css/components/header-sticky-toggle.css: {}
css/components/hero.css: {}
css/components/links.css: {}
css/components/layout-field.css: {}
css/components/messages.css: {}
css/components/navigation/nav-button-mobile.css: {}
css/components/node.css: {}