@juxtui/ui 0.4.0 → 0.5.0
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/dist/index.js.map +1 -1
- package/dist/style.css +11 -2
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -3487,8 +3487,17 @@ to {
|
|
|
3487
3487
|
display: flex;
|
|
3488
3488
|
flex-direction: column;
|
|
3489
3489
|
width: 100%;
|
|
3490
|
-
|
|
3491
|
-
|
|
3490
|
+
/*
|
|
3491
|
+
* Not `height: 100%`: inside a parent that only has a min-height (e.g. a
|
|
3492
|
+
* `min-h-screen` flex row) a percentage height can't resolve, and a set
|
|
3493
|
+
* height also stops the flex/grid parent from stretching the sidebar, so it
|
|
3494
|
+
* would collapse to its content. Min and max of 100% pin it to a parent with
|
|
3495
|
+
* a real height (nav scrolls inside), and leave it `auto` everywhere else, so
|
|
3496
|
+
* the parent stretches it to full height and the footer stays at the bottom.
|
|
3497
|
+
*/
|
|
3498
|
+
height: auto;
|
|
3499
|
+
min-height: 100%;
|
|
3500
|
+
max-height: 100%;
|
|
3492
3501
|
color: var(--juxt-fg);
|
|
3493
3502
|
font-family: var(--juxt-font-sans);
|
|
3494
3503
|
}
|