File tree Expand file tree Collapse file tree 4 files changed +4
-2
lines changed
Expand file tree Collapse file tree 4 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -3720,6 +3720,7 @@ blockquote {
37203720.kroma-navbar .nav-logo img {
37213721 width : auto;
37223722 height : 100% ;
3723+ min-width : min-content;
37233724}
37243725
37253726.kroma-navbar .nav-logo {
Original file line number Diff line number Diff line change 55.kroma-navbar .nav-logo img {
66 width : auto;
77 height : 100% ;
8+ min-width : min-content;
89}
910
1011.kroma-navbar .nav-logo {
Original file line number Diff line number Diff line change @@ -1274,7 +1274,7 @@ export class KromaNavbar {
12741274 this . hasLogo = ( this . nav . querySelector ( 'img' ) && this . nav . querySelector ( 'img' ) . src ) ? true : false ;
12751275 this . logoPath = this . hasLogo ? this . nav . querySelector ( 'img' ) . src : undefined ;
12761276 this . siteTitle = document . querySelector ( 'head title' ) ;
1277- this . siteTitle = siteTitle ?? ( this . siteTitle . innerText ?? '' ) ;
1277+ this . siteTitle = ( this . nav . dataset . title ?? title ) ?? ( this . siteTitle . innerText ?? '' ) ;
12781278
12791279
12801280 //get menu items
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ export class KromaNavbar {
3434 this . hasLogo = ( this . nav . querySelector ( 'img' ) && this . nav . querySelector ( 'img' ) . src ) ? true : false ;
3535 this . logoPath = this . hasLogo ? this . nav . querySelector ( 'img' ) . src : undefined ;
3636 this . siteTitle = document . querySelector ( 'head title' ) ;
37- this . siteTitle = siteTitle ?? ( this . siteTitle . innerText ?? '' ) ;
37+ this . siteTitle = ( this . nav . dataset . title ?? title ) ?? ( this . siteTitle . innerText ?? '' ) ;
3838
3939
4040 //get menu items
You can’t perform that action at this time.
0 commit comments