parcel/style/utils/triangles.css
Blake Rain 176cdf493c
Some checks failed
Check / check (push) Failing after 3m17s
fix: swap uploads table to a CSS grid
Really this has become necessary to combat things like `colspan` not
respecting hidden columns and other problems with table layout. To
get the sizes to work we were using `fixed` layout, and in the end
it is easier to use grid.
2024-08-15 13:37:48 +01:00

28 lines
493 B
CSS

@layer utilities {
.has-triangle {
&:before {
position: absolute;
content: "";
width: 0;
height: 0;
border-width: 0.5rem;
border-color: transparent;
}
&.triangle-tl:before {
@apply border-t-0 border-b-neutral-200 dark:border-b-gray-700;
top: -0.5rem;
left: 0.5rem;
}
&.triangle-tr:before {
@apply border-t-0 border-b-neutral-200 dark:border-b-gray-700;
top: -0.5rem;
right: 0.5rem;
}
}
}