Revert broken flexbox after Branding component creation

Created on 6 August 2023, over 1 year ago
Updated 8 September 2023, about 1 year ago

Revert broken flexbox after Branding component creation.

Inotial tree before Branding component:

<div class="region region-header">
  <div class="block-system-branding-block">

so next styles worked:

.block-system-branding-block {
  flex: 0 1 40%;
}

after branding component creation tree became:

<div class="region region-header">
  <div class="block-system-branding-block">
    <div class="branding">

so this marked is `useless`:

.branding {
  flex: 0 1 40%;
}

Proposed resolution

1. Move flexbox child properties to higher level. EG: `block-system-branding-block`

OR

2. Rework branding component. But in this case according to BEM it shouldn't have any external geometry. And move that styles to `.region-header__branding`

🐛 Bug report
Status

Fixed

Version

10.1

Component
Umami 

Last updated 16 days ago

Created by

🇷🇺Russia Chi

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024