style(storybook): refine patterns data and layout stories
This commit is contained in:
1 parent
3bebe8a660
commit
b33ca2a157
12 files changed
+168
-152
No files matched your search
@@ -180,3 +180,15 @@
|
||||
}
|
||||
|
||||
/* Compact geometry is shared by all viewports. Dashboard's native scroll frame preserves its minimum width. */
|
||||
|
||||
/* Representative page only: the Dashboard grows with its content instead of being fixed to 100dvh, so the content surface has no
|
||||
inner vertical scrollbar and the Storybook page itself scrolls. The body's `flex: 1 1 0` is a vertical share of the fixed height,
|
||||
so it becomes content-sized; `dashboard-main` keeps its own `flex: 1 1 0`, which is its horizontal fill inside the body row.
|
||||
The package's rules (fixed height, overflow-y: auto) stay as they are for operating screens; the horizontal scroll frame
|
||||
(min-width 960px) is unchanged. */
|
||||
.dashboard-all-page [data-slot="dashboard-scroll"] {
|
||||
height: auto;
|
||||
}
|
||||
.dashboard-all-page [data-slot="dashboard-body"] {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
Reference in new issue
Block a user