From 8e56fd316a6afcfc4db01fd2b6ce0ba37006e4d0 Mon Sep 17 00:00:00 2001 From: Lauri Eskola Date: Fri, 8 Sep 2023 11:53:29 +0300 Subject: [PATCH] Issue #3379522 by finnsky, Gauravvvv, kostyashupenko, smustgrave, Chi: Revert broken flexbox after Branding component creation --- .../themes/umami/components/branding/branding.css | 6 ------ .../umami/css/components/regions/header/header.css | 11 +++++++++++ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/core/profiles/demo_umami/themes/umami/components/branding/branding.css b/core/profiles/demo_umami/themes/umami/components/branding/branding.css index e5ea8eaf102..1cda3953070 100644 --- a/core/profiles/demo_umami/themes/umami/components/branding/branding.css +++ b/core/profiles/demo_umami/themes/umami/components/branding/branding.css @@ -3,14 +3,8 @@ * This file is used to style the branding block. */ -.branding { - flex: 0 1 40%; -} - @media screen and (min-width: 48em) { .branding { - flex: 0 1 220px; - margin: 2.5rem 0; text-align: left; } } diff --git a/core/profiles/demo_umami/themes/umami/css/components/regions/header/header.css b/core/profiles/demo_umami/themes/umami/css/components/regions/header/header.css index f9b13115473..1a8e756e080 100644 --- a/core/profiles/demo_umami/themes/umami/css/components/regions/header/header.css +++ b/core/profiles/demo_umami/themes/umami/css/components/regions/header/header.css @@ -36,3 +36,14 @@ padding: 0; } } + +.region-header .block-system-branding-block { + flex: 0 1 40%; +} + +@media screen and (min-width: 48em) { + .region-header .block-system-branding-block { + flex: 0 1 220px; + margin: 2.5rem 0; + } +}