-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
46 lines (39 loc) · 978 Bytes
/
Copy pathstyles.css
File metadata and controls
46 lines (39 loc) · 978 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
@source "./dist/**/*.js";
.data-table-container-query {
container-type: inline-size;
container-name: data-table;
}
[data-dtp-striped-rows="true"]
[data-row-parity="odd"]:not([data-state="selected"]) {
background-color: color-mix(in srgb, currentColor 3%, transparent);
}
/* Keep these package-owned thresholds aligned with
* DATA_TABLE_CONTAINER_BREAKPOINT_WIDTHS in src/core/types.ts. Pixel values
* are intentional so host root-font and Tailwind theme changes cannot make
* presentation disagree with the responsive column state.
*/
@container data-table (width < 640px) {
.dt-hide-on-sm {
display: none;
}
}
@container data-table (width < 768px) {
.dt-hide-on-md {
display: none;
}
}
@container data-table (width < 1024px) {
.dt-hide-on-lg {
display: none;
}
}
@container data-table (width < 1280px) {
.dt-hide-on-xl {
display: none;
}
}
@container data-table (width < 1536px) {
.dt-hide-on-2xl {
display: none;
}
}