@jelinek/ui 0.9.3 → 0.9.4
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/theme/base.css +8 -0
- package/package.json +1 -1
package/dist/theme/base.css
CHANGED
|
@@ -279,6 +279,14 @@
|
|
|
279
279
|
right after the content. */
|
|
280
280
|
main {
|
|
281
281
|
flex: 1 0 auto;
|
|
282
|
+
/* Kit-only addition (the guide's own <main> is never centred). Consumer
|
|
283
|
+
shells centre <main> with `mx-auto max-w-*`; auto margins on a flex
|
|
284
|
+
item switch off the cross-axis stretch, so without an explicit width
|
|
285
|
+
<main> is sized by its content and its min-content width — a nowrap
|
|
286
|
+
Tabs row, a truncated line — pushes the page wider than the phone
|
|
287
|
+
screen (zlepsovaky, 24. 9. 2026). `width: 100%` keeps <main> at the
|
|
288
|
+
body width and lets `max-w-*` + `mx-auto` clamp and centre it. */
|
|
289
|
+
width: 100%;
|
|
282
290
|
}
|
|
283
291
|
|
|
284
292
|
/* Headings — modular scale (see --stepN in theme.css); only size/line-height
|