You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3f48466
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: adminforth/design/system-concepts.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,11 @@ Below `sm` (640px) a Dialog or Modal docks to the bottom edge as a sheet: full w
48
48
49
49
A page gets less than the screen: the sidebar and the agent panel squeeze it on wide screens too. Layouts which stack follow their container with Tailwind container queries (`@container` on the parent, `@4xl:` on children), not the viewport with `md:` or `lg:`. Such a grid gets `grid-cols-1` as its base, otherwise a wide chart or table stretches its single column past the page.
50
50
51
-
The header of the list page is a container named `header`. Below 896px (`@4xl/header`) components from `beforeActionButtons` take a full row under the title and the buttons, from 896px all share one row. Below 512px (`@lg/header`) Home and Filter keep only their icons. Such a component fills its row and takes a fixed width from `@4xl/header:`, like the fields of quick-filters. Bulk actions of checked rows take a row of their own above the table, so the buttons next to the title never move.
51
+
The header of the list page is a container named `header`. Below 896px (`@4xl/header`) components from `beforeActionButtons` take a full row under the title and the buttons, from 896px all share one row. Below 512px (`@lg/header`) Home and Filter keep only their icons. Such a component fills its row and takes a fixed width from `@4xl/header:`, like the fields of quick-filters.
52
+
53
+
## Bulk actions bar
54
+
55
+
Checking rows never moves the table or the header and never changes the height of the table. Bulk actions of checked rows show up in a dark floating bar in place of the pagination: the pagination turns invisible and keeps its room, changing the page drops the checked rows anyway. The bar takes no room itself and sticks to the bottom of the screen over a long table. It holds the count, the actions as ghost buttons, Clear. All actions stay in sight, no sideways scroll: on a narrow screen they wrap between the count and Clear, left aligned, and the bar grows up over the last rows. The bar is an ink layer like a tooltip and takes the `Tooltip*` tokens, so it is light in the dark theme. A destructive action on it takes the `Danger` token of the opposite theme.
Copy file name to clipboardExpand all lines: documentation/docs/tutorial/03-Customization/08-pageInjections.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -805,7 +805,7 @@ The header lays out by its own width, not by the width of the screen, because th
805
805
- below 896px the injected components take a full row under the title and the buttons;
806
806
- from 896px the title, the injected components and the buttons share one row, the components stand to the left of the buttons.
807
807
808
-
Buttons of bulk actions show up in a row of their own above the table when rows are checked, so they never push the componentsor the buttons around.
808
+
Buttons of bulk actions show up in a floating bar in place of the pagination when rows are checked, so they never push the components, the buttons or the table around.
809
809
810
810
The header is a Tailwind [size container](https://github.com/tailwindlabs/tailwindcss-container-queries) named `header`, so a component can follow it with `@4xl/header:` variants. For example, a search input fills its row on a narrow header and gets a fixed width in the single row of a wide one:
0 commit comments