@starasia/admin 11.3.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
- // Sticky page header: only meaningful when the page itself scrolls
2139
- // (`scrollable`). Pins the title + subHeaders below the navbar while
2140
- // the body scrolls under them; an opaque background keeps rows from
2141
- // showing through.
2142
- ...a && u ? {
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
- top: 0,
2145
+ left: 0,
2146
+ ...u ? { top: 0 } : {},
2145
2147
  zIndex: 2,
2146
2148
  background: "var(--sa-background-primary, #ffffff)"
2147
2149
  } : {},