diff --git a/core/profiles/demo_umami/themes/umami/css/components/content-types/recipe/recipe.css b/core/profiles/demo_umami/themes/umami/css/components/content-types/recipe/recipe.css index 72355e2c29..dc40728b37 100644 --- a/core/profiles/demo_umami/themes/umami/css/components/content-types/recipe/recipe.css +++ b/core/profiles/demo_umami/themes/umami/css/components/content-types/recipe/recipe.css @@ -30,11 +30,11 @@ .node--type-recipe.node--view-mode-full .layout--oneplusfourgrid-section .field--name-field-cooking-time, .node--type-recipe.node--view-mode-full .layout--oneplusfourgrid-section .field--name-field-number-of-servings, .node--type-recipe.node--view-mode-full .layout--oneplusfourgrid-section .field--name-field-difficulty { + padding-top: 64px; padding-left: 0; /* LTR */ + text-align: center; background-position: center top; /* LTR */ background-size: 56px 56px; - padding-top: 64px; - text-align: center; } [dir=rtl] .node--type-recipe.node--view-mode-full .layout--oneplusfourgrid-section .field--name-field-preparation-time, [dir=rtl] .node--type-recipe.node--view-mode-full .layout--oneplusfourgrid-section .field--name-field-cooking-time, @@ -55,8 +55,8 @@ .node--type-recipe.node--view-mode-full .layout--oneplusfourgrid-section .field--name-field-cooking-time .field__item, .node--type-recipe.node--view-mode-full .layout--oneplusfourgrid-section .field--name-field-number-of-servings .field__item, .node--type-recipe.node--view-mode-full .layout--oneplusfourgrid-section .field--name-field-difficulty .field__item { - padding-right: 0; width: 100%; + padding-right: 0; } } diff --git a/core/profiles/demo_umami/themes/umami/layouts/fourcol_section/fourcol_section.css b/core/profiles/demo_umami/themes/umami/layouts/fourcol_section/fourcol_section.css index c7d24945de..8112681a05 100644 --- a/core/profiles/demo_umami/themes/umami/layouts/fourcol_section/fourcol_section.css +++ b/core/profiles/demo_umami/themes/umami/layouts/fourcol_section/fourcol_section.css @@ -14,13 +14,13 @@ /* Medium */ @media screen and (min-width: 48em) { /* 768px */ .layout--fourcol-section { - margin-left: -1.5%; margin-right: -1.5%; + margin-left: -1.5%; } .layout--fourcol-section > .layout__region { flex: 0 1 47%; - margin-left: 1.5%; margin-right: 1.5%; + margin-left: 1.5%; } } /* Large */ diff --git a/core/profiles/demo_umami/themes/umami/layouts/oneplusfourgrid_section/layout--oneplusfourgrid-section.html.twig b/core/profiles/demo_umami/themes/umami/layouts/oneplusfourgrid_section/layout--oneplusfourgrid-section.html.twig index b6546cf296..5345bcae80 100644 --- a/core/profiles/demo_umami/themes/umami/layouts/oneplusfourgrid_section/layout--oneplusfourgrid-section.html.twig +++ b/core/profiles/demo_umami/themes/umami/layouts/oneplusfourgrid_section/layout--oneplusfourgrid-section.html.twig @@ -20,7 +20,7 @@ {% if content.first %} -
+ {{ content.first }}
{% endif %} @@ -30,25 +30,25 @@ {% endif %} {% if content.second %} -
+ {{ content.second }}
{% endif %} {% if content.third %} -
+ {{ content.third }}
{% endif %} {% if content.fourth %} -
+ {{ content.fourth }}
{% endif %} {% if content.fifth %} -
+ {{ content.fifth }}
{% endif %} diff --git a/core/profiles/demo_umami/themes/umami/layouts/oneplusfourgrid_section/oneplusfourgrid_section.css b/core/profiles/demo_umami/themes/umami/layouts/oneplusfourgrid_section/oneplusfourgrid_section.css index c4e504a37a..4828e3f978 100644 --- a/core/profiles/demo_umami/themes/umami/layouts/oneplusfourgrid_section/oneplusfourgrid_section.css +++ b/core/profiles/demo_umami/themes/umami/layouts/oneplusfourgrid_section/oneplusfourgrid_section.css @@ -15,17 +15,17 @@ /* Large */ @media screen and (min-width: 60rem) { /* 960px */ .layout--oneplusfourgrid-section { - margin-left: -1.5%; margin-right: -1.5%; + margin-left: -1.5%; } .layout--oneplusfourgrid-section > .layout__region--first { flex: 0 1 47%; - margin-left: 1.5%; margin-right: 1.5%; + margin-left: 1.5%; } .layout--oneplusfourgrid-section > .layout__four-grid-group { - flex: 0 1 50%; display: flex; + flex: 0 1 50%; flex-wrap: wrap; } .layout__four-grid-group > .layout__region--second, @@ -33,7 +33,7 @@ .layout__four-grid-group > .layout__region--fourth, .layout__four-grid-group > .layout__region--fifth { flex: 0 1 44%; - margin-left: 3%; margin-right: 3%; + margin-left: 3%; } } diff --git a/core/profiles/demo_umami/themes/umami/layouts/threecol_section/threecol_section.css b/core/profiles/demo_umami/themes/umami/layouts/threecol_section/threecol_section.css index 364d604b3b..fca47fec7c 100644 --- a/core/profiles/demo_umami/themes/umami/layouts/threecol_section/threecol_section.css +++ b/core/profiles/demo_umami/themes/umami/layouts/threecol_section/threecol_section.css @@ -14,12 +14,12 @@ /* Medium */ @media screen and (min-width: 48em) { /* 768px */ .layout--threecol-section { - margin-left: -1.5%; margin-right: -1.5%; + margin-left: -1.5%; } .layout--threecol-section > .layout__region { - margin-left: 1.5%; margin-right: 1.5%; + margin-left: 1.5%; } .layout--threecol-section--25-50-25 > .layout__region--first, .layout--threecol-section--25-50-25 > .layout__region--third, diff --git a/core/profiles/demo_umami/themes/umami/layouts/twocol_section/twocol_section.css b/core/profiles/demo_umami/themes/umami/layouts/twocol_section/twocol_section.css index 7813f7e7db..74a7c99dfd 100644 --- a/core/profiles/demo_umami/themes/umami/layouts/twocol_section/twocol_section.css +++ b/core/profiles/demo_umami/themes/umami/layouts/twocol_section/twocol_section.css @@ -14,12 +14,12 @@ /* Medium */ @media screen and (min-width: 48em) { /* 768px */ .layout--twocol-section { - margin-left: -1.5%; margin-right: -1.5%; + margin-left: -1.5%; } .layout--twocol-section > .layout__region { - margin-left: 1.5%; margin-right: 1.5%; + margin-left: 1.5%; } .layout--twocol-section.layout--twocol-section--50-50 > .layout__region {