From c754c4c09a025ddc53601e28d9819e994dbc4d1e Mon Sep 17 00:00:00 2001
From: Lauri Eskola <lauri.eskola@acquia.com>
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

(cherry picked from commit 8e56fd316a6afcfc4db01fd2b6ce0ba37006e4d0)
---
 .../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 e5ea8eaf102f..1cda39530705 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 f9b13115473c..1a8e756e0808 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;
+  }
+}
-- 
GitLab