anentrypoint-design 0.0.179 → 0.0.181
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/app-shell.css +14 -2
- package/dist/247420.css +14 -2
- package/dist/247420.js +9 -9
- package/package.json +1 -1
package/app-shell.css
CHANGED
|
@@ -330,7 +330,14 @@ pre .n { color: var(--green-2); }
|
|
|
330
330
|
align-self: stretch;
|
|
331
331
|
height: 100%;
|
|
332
332
|
}
|
|
333
|
-
|
|
333
|
+
/* Document children (hero, sections, panels) keep their natural height in the
|
|
334
|
+
scrolling flex column. Without flex-shrink:0 the flex algorithm shrinks them
|
|
335
|
+
toward min-height:0 once total content exceeds the fixed-height .app-main,
|
|
336
|
+
collapsing every section to 0 and piling content on top of itself — the
|
|
337
|
+
failure mode any long-scroll page (a marketing/landing route) hits. Grow
|
|
338
|
+
children (.chat/.grow/etc.) re-assert flex:1 1 auto below via higher
|
|
339
|
+
specificity, so a single full-height pane still fills the region. */
|
|
340
|
+
.app-main > * { min-height: 0; flex-shrink: 0; }
|
|
334
341
|
/* The main region scrolls its own overflow at every breakpoint (previously
|
|
335
342
|
only ≥901px), so a fixed-height .app never clips route content and inner
|
|
336
343
|
panels don't fight the page scroll. */
|
|
@@ -787,8 +794,13 @@ table tr.clickable:focus-visible td { background: var(--bg-2); }
|
|
|
787
794
|
.app-topbar {
|
|
788
795
|
gap: var(--space-2); padding: 12px var(--space-3);
|
|
789
796
|
}
|
|
797
|
+
/* When the topbar is folded into .app-chrome it is a flex:0 0 auto child, so
|
|
798
|
+
it sizes to its nav's content and overflows the viewport instead of letting
|
|
799
|
+
the nav's own overflow-x:auto engage. Constrain it to the chrome width so
|
|
800
|
+
the horizontally-scrolling nav stays inside the screen. */
|
|
801
|
+
.app-chrome > .app-topbar { max-width: 100%; min-width: 0; flex-basis: 100%; }
|
|
790
802
|
.app-topbar > nav {
|
|
791
|
-
flex: 1 1 100%; margin-left: 0; order: 3;
|
|
803
|
+
flex: 1 1 100%; margin-left: 0; order: 3; min-width: 0; max-width: 100%;
|
|
792
804
|
display: flex; gap: 2px; flex-wrap: nowrap;
|
|
793
805
|
overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
|
|
794
806
|
}
|
package/dist/247420.css
CHANGED
|
@@ -731,7 +731,14 @@
|
|
|
731
731
|
align-self: stretch;
|
|
732
732
|
height: 100%;
|
|
733
733
|
}
|
|
734
|
-
|
|
734
|
+
/* Document children (hero, sections, panels) keep their natural height in the
|
|
735
|
+
scrolling flex column. Without flex-shrink:0 the flex algorithm shrinks them
|
|
736
|
+
toward min-height:0 once total content exceeds the fixed-height .app-main,
|
|
737
|
+
collapsing every section to 0 and piling content on top of itself — the
|
|
738
|
+
failure mode any long-scroll page (a marketing/landing route) hits. Grow
|
|
739
|
+
children (.chat/.grow/etc.) re-assert flex:1 1 auto below via higher
|
|
740
|
+
specificity, so a single full-height pane still fills the region. */
|
|
741
|
+
.ds-247420 .app-main > * { min-height: 0; flex-shrink: 0; }
|
|
735
742
|
/* The main region scrolls its own overflow at every breakpoint (previously
|
|
736
743
|
only ≥901px), so a fixed-height .app never clips route content and inner
|
|
737
744
|
panels don't fight the page scroll. */
|
|
@@ -1188,8 +1195,13 @@
|
|
|
1188
1195
|
.ds-247420 .app-topbar {
|
|
1189
1196
|
gap: var(--space-2); padding: 12px var(--space-3);
|
|
1190
1197
|
}
|
|
1198
|
+
/* When the topbar is folded into .app-chrome it is a flex:0 0 auto child, so
|
|
1199
|
+
it sizes to its nav's content and overflows the viewport instead of letting
|
|
1200
|
+
the nav's own overflow-x:auto engage. Constrain it to the chrome width so
|
|
1201
|
+
the horizontally-scrolling nav stays inside the screen. */
|
|
1202
|
+
.ds-247420 .app-chrome > .app-topbar { max-width: 100%; min-width: 0; flex-basis: 100%; }
|
|
1191
1203
|
.ds-247420 .app-topbar > nav {
|
|
1192
|
-
flex: 1 1 100%; margin-left: 0; order: 3;
|
|
1204
|
+
flex: 1 1 100%; margin-left: 0; order: 3; min-width: 0; max-width: 100%;
|
|
1193
1205
|
display: flex; gap: 2px; flex-wrap: nowrap;
|
|
1194
1206
|
overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
|
|
1195
1207
|
}
|