@@ -383,12 +383,10 @@ main.blog {
383383 translate : 6px ;
384384}
385385
386-
387386.logo-bar {
388- --pf-navigation--Height--actual : 70px ;
389387 display : flex;
388+ --pf-navigation--Height--actual : 70px ;
390389 align-items : center;
391- gap : 1em ;
392390 height : 4.375rem ; /* old: 3.75rem */
393391 padding-inline-start : var (--pf-c-masthead--PaddingLeft , var (--pf-c-masthead--inset , 24px ));
394392 padding-inline-end : var (--pf-c-masthead--PaddingRight , var (--pf-c-masthead--inset , 24px ));
@@ -398,19 +396,32 @@ main.blog {
398396 background : var (--pf-theme--color--accent , # 0066cc );
399397}
400398
401- .logo-bar > a {
399+ .logo-flex-wrap {
400+ display : flex;
401+ gap : 1em ;
402+ width : 100% ;
403+ height : 100% ;
404+ }
405+
406+ .logo-flex-wrap > .placeholder {
407+ /* 25px is the width of the hamburger */
408+ width : 25px ;
409+ height : 57px ;
410+ }
411+
412+ .logo-flex-wrap > a {
402413 display : flex;
403414 align-items : center;
404415 color : white;
405416 text-decoration : none;
406417 font-size : 1.25rem ;
407418 font-weight : bold;
408- margin-left : calc (1.5rem + 16px );
409- height : 100% ;
419+ gap : 1rem ;
410420}
411421
412- .logo-bar > a img {
413- display : none;
422+ .logo-flex-wrap > a > picture ,
423+ .logo-flex-wrap > a > picture > img {
424+ width : 100% ;
414425 height : 100% ;
415426}
416427
@@ -494,7 +505,6 @@ main.blog {
494505.l-header__mobile-menu-toggle {
495506 width : 1.5rem ;
496507 height : 4.375rem ;
497- margin-right : 16px ;
498508 color : # fff ;
499509 z-index : 200 ;
500510 position : fixed;
@@ -515,6 +525,8 @@ main.blog {
515525 -moz-user-select : none;
516526 -ms-user-select : none;
517527 user-select : none;
528+ /* header-bar is set to z-index: 300 */
529+ z-index : 301 ;
518530}
519531
520532.l-header__burger-icon {
@@ -836,6 +848,14 @@ blockquote {
836848 padding-inline : var (--pf-global--spacer--3xl , 4rem )
837849 }
838850
851+ .logo-flex-wrap {
852+ gap : 0 ;
853+ }
854+
855+ .logo-flex-wrap .placeholder : empty {
856+ display : none;
857+ }
858+
839859 # component-list {
840860 padding : var (--pf-global--spacer--3xl , 4rem ) var (--pf-global--spacer--3xl , 4rem );
841861 }
@@ -862,11 +882,11 @@ blockquote {
862882 top : 2rem ;
863883 }
864884
865- .logo-bar > a {
885+ .logo-flex-wrap > a {
866886 margin-left : 16px ;
867887 }
868888
869- .logo-bar > a img {
889+ .logo-flex-wrap > a > picture > img {
870890 display : inline-block;
871891 position : relative;
872892 left : -1rem ;
0 commit comments