Skip to content

Commit da71e97

Browse files
committed
navbar,sidebar - various
1 parent 9665c70 commit da71e97

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/css/bundle.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4315,7 +4315,7 @@ nav.kroma-navbar:before {
43154315

43164316
/* --- sidebar.css --- */
43174317
:root {
4318-
--sdb-size-base: calc(clamp(300px,30vw,350px) * 1.2);
4318+
--sdb-size-base: calc(clamp(300px,30vw,350px) * 1.1);
43194319
}
43204320

43214321
/*TEMPORARY FIX FOR SIDEBAR SPACING*/

src/css/components/sidebar.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
:root {
2-
--sdb-size-base: calc(clamp(300px,30vw,350px) * 1.2);
2+
--sdb-size-base: calc(clamp(300px,30vw,350px) * 1.1);
33
}
44

55
/*TEMPORARY FIX FOR SIDEBAR SPACING*/

src/js/bundle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 = ( this.nav.dataset.title ?? title ) ?? (this.siteTitle.innerText ?? '');
1277+
this.siteTitle = ( this.nav.dataset.title ?? siteTitle ) ?? (this.siteTitle.innerText ?? '');
12781278

12791279

12801280
//get menu items

src/js/components/navbar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 = ( this.nav.dataset.title ?? title ) ?? (this.siteTitle.innerText ?? '');
37+
this.siteTitle = ( this.nav.dataset.title ?? siteTitle ) ?? (this.siteTitle.innerText ?? '');
3838

3939

4040
//get menu items

0 commit comments

Comments
 (0)