Skip to content

Commit 0d0e6bc

Browse files
committed
applied styling to work in combination with hiddenFrom and visibleFrom
1 parent 7f48e0a commit 0d0e6bc

File tree

1 file changed

+41
-1
lines changed

1 file changed

+41
-1
lines changed

packages/tables/resources/css/cell.css

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,48 @@
11
.fi-ta-cell {
22
@apply p-0 first-of-type:ps-1 last-of-type:pe-1 sm:first-of-type:ps-3 sm:last-of-type:pe-3;
33

4-
&.fi-ta-cell-is-stacked {
4+
.fi-ta-cell-is-stacked {
55
@apply flex w-full border-t border-gray-200 first-of-type:ps-0 sm:table-cell sm:w-auto sm:border-none sm:first-of-type:ps-3;
6+
7+
&.sm\:fi-hidden {
8+
@apply sm:hidden;
9+
}
10+
11+
&.md\:fi-hidden {
12+
@apply md:hidden;
13+
}
14+
15+
&.lg\:fi-hidden {
16+
@apply lg:hidden;
17+
}
18+
19+
&.xl\:fi-hidden {
20+
@apply xl:hidden;
21+
}
22+
23+
&.\32xl\:fi-hidden {
24+
@apply 2xl:hidden;
25+
}
26+
27+
&.sm\:fi-visible {
28+
@apply hidden sm:table-cell;
29+
}
30+
31+
&.md\:fi-visible {
32+
@apply hidden md:table-cell;
33+
}
34+
35+
&.lg\:fi-visible {
36+
@apply hidden lg:table-cell;
37+
}
38+
39+
&.xl\:fi-visible {
40+
@apply hidden xl:table-cell;
41+
}
42+
43+
&.\32xl\:fi-visible {
44+
@apply hidden 2xl:table-cell;
45+
}
646
}
747

848
&.fi-vertical-align-start {

0 commit comments

Comments
 (0)