barua-ui 0.4.1 → 0.4.2
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.
- package/css/components/nav.css +5 -0
- package/package.json +1 -1
package/css/components/nav.css
CHANGED
|
@@ -522,6 +522,11 @@
|
|
|
522
522
|
}
|
|
523
523
|
|
|
524
524
|
/* Dropdown wrapper (CSS-only open via <details>) */
|
|
525
|
+
/* A menu used as a listbox can hold a long list — twenty blocks of a serial,
|
|
526
|
+
every region — so it scrolls inside itself rather than running off the
|
|
527
|
+
card or the screen. */
|
|
528
|
+
.b-menu[role="listbox"] { max-block-size: min(18rem, 50dvh); overflow-y: auto; overscroll-behavior: contain; }
|
|
529
|
+
|
|
525
530
|
.b-dropdown { position: relative; display: inline-block; }
|
|
526
531
|
.b-dropdown > summary { list-style: none; cursor: pointer; }
|
|
527
532
|
.b-dropdown > summary::-webkit-details-marker { display: none; }
|