@starasia/admin 11.4.0 → 11.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.es.js
CHANGED
|
@@ -2135,13 +2135,15 @@ const Ji = (t, r) => {
|
|
|
2135
2135
|
{
|
|
2136
2136
|
direction: "column",
|
|
2137
2137
|
style: {
|
|
2138
|
-
//
|
|
2139
|
-
//
|
|
2140
|
-
//
|
|
2141
|
-
//
|
|
2142
|
-
|
|
2138
|
+
// When the page itself scrolls (`scrollable`), pin the header to the
|
|
2139
|
+
// left so the title + subHeaders don't drift sideways when a wide body
|
|
2140
|
+
// (e.g. a matrix) scrolls horizontally — vertically it still scrolls
|
|
2141
|
+
// away. `stickyHeader` additionally pins it to the top (stays below the
|
|
2142
|
+
// navbar). An opaque background keeps body content from showing through.
|
|
2143
|
+
...a ? {
|
|
2143
2144
|
position: "sticky",
|
|
2144
|
-
|
|
2145
|
+
left: 0,
|
|
2146
|
+
...u ? { top: 0 } : {},
|
|
2145
2147
|
zIndex: 2,
|
|
2146
2148
|
background: "var(--sa-background-primary, #ffffff)"
|
|
2147
2149
|
} : {},
|