@filipgutica/ui 1.14.0 → 1.14.1

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/site.css +2 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@filipgutica/ui",
3
- "version": "1.14.0",
3
+ "version": "1.14.1",
4
4
  "description": "A compact Vue design system with Tailwind CSS and VS Code theme support",
5
5
  "type": "module",
6
6
  "sideEffects": [
package/src/site.css CHANGED
@@ -277,8 +277,6 @@
277
277
  top: var(--space-6);
278
278
  align-self: start;
279
279
  min-width: 0;
280
- max-height: calc(100svh - var(--space-12));
281
- overflow-y: auto;
282
280
  padding-block: var(--space-4);
283
281
  color: var(--color-text);
284
282
  font-family: var(--font-ui);
@@ -626,6 +624,8 @@
626
624
  /* No-JavaScript desktop: the rail's disclosure stays expanded. */
627
625
  @media (min-width: 801px) {
628
626
  .fg-site-rail { border-inline-end: 1px solid var(--color-border-subtle); padding-inline-end: var(--space-4); }
627
+ /* The links scroll, not the bordered rail, so an overlay scrollbar sits clear of the divider. */
628
+ .fg-site-rail__content { max-height: calc(100svh - var(--space-12) - var(--space-8)); overflow-y: auto; }
629
629
  .fg-site-rail__menu::details-content { content-visibility: visible; }
630
630
  .fg-site-rail__menu:not([open]) > .fg-site-rail__content { display: block; }
631
631
  }
@@ -655,8 +655,6 @@
655
655
  .fg-site-docs > main { gap: var(--space-8); padding-top: var(--space-6); }
656
656
  .fg-site-rail {
657
657
  position: static;
658
- max-height: none;
659
- overflow: visible;
660
658
  padding-block: var(--space-2);
661
659
  }
662
660
  .fg-site-rail__summary,