@triptease/tt-navbar 0.0.28 → 0.0.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @triptease/tt-navbar v0.0.28
2
+ * @triptease/tt-navbar v0.0.30
3
3
  */
4
4
 
5
5
  // ../../node_modules/@lit/reactive-element/css-tag.js
@@ -565,12 +565,17 @@ var visuallyHiddenCss = i`
565
565
  `;
566
566
  var styles = i`
567
567
  :host {
568
- --nav-bar-width: 260px;
568
+ --nav-bar-width: 250px;
569
569
 
570
570
  display: block;
571
571
  height: 100vh;
572
572
  }
573
573
 
574
+ :host:has(.sidebar-closed) {
575
+ --nav-bar-width: fit-content;
576
+ }
577
+
578
+
574
579
  * {
575
580
  box-sizing: border-box;
576
581
  }
@@ -692,6 +697,10 @@ var styles = i`
692
697
 
693
698
  nav.sidebar-closed {
694
699
  width: fit-content;
700
+
701
+ :host {
702
+ --nav-bar-width: fit-content;
703
+ }
695
704
  }
696
705
 
697
706
  details {