@starasia/admin 11.4.0 → 11.5.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.
|
@@ -53,11 +53,12 @@ export interface PageLayoutProps extends PropsWithChildren {
|
|
|
53
53
|
* Make PageLayout its own vertical scroll container: it fills the parent's
|
|
54
54
|
* height (`height: 100%`) and scrolls its content with `overflow: auto`.
|
|
55
55
|
*
|
|
56
|
-
* With this on, the header + subHeaders scroll away
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
* (
|
|
60
|
-
*
|
|
56
|
+
* With this on, the header + subHeaders scroll away vertically with the body
|
|
57
|
+
* (but stay pinned to the left on horizontal scroll, so they don't drift when
|
|
58
|
+
* a wide body scrolls sideways), and any `position: sticky; top: 0` element in
|
|
59
|
+
* the body (e.g. a table header) pins to the top of the page — right below the
|
|
60
|
+
* app navbar. Without it (default) PageLayout just grows with its content and
|
|
61
|
+
* relies on an ancestor (app shell / body) to scroll.
|
|
61
62
|
*
|
|
62
63
|
* Requires the parent to have a definite height (the app content slot usually
|
|
63
64
|
* does). Defaults to `false`.
|