Skip to content

Commit

Permalink
update rounded-table-corner utility
Browse files Browse the repository at this point in the history
  • Loading branch information
SteffenDE committed Feb 26, 2025
1 parent 76b0bff commit fab8e2a
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions installer/templates/phx_assets/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,10 @@
/* Helper class for the default table component style that adds
* rounded corners to the table rows.
*/
@layer components {
.rounded-table-corner {
@apply
first:before:absolute first:before:h-full first:before:w-4 first:before:top-0 first:before:-left-4 first:before:group-hover:bg-zinc-50 first:before:sm:rounded-l-xl
last:before:absolute last:before:h-full last:before:w-4 last:before:top-0 last:before:-right-4 last:before:group-hover:bg-zinc-50 last:before:sm:rounded-r-xl;
}
@utility rounded-table-corner {
@apply
first:before:absolute first:before:h-full first:before:w-4 first:before:top-0 first:before:-left-4 first:before:group-hover:bg-zinc-50 first:before:sm:rounded-l-xl
last:before:absolute last:before:h-full last:before:w-4 last:before:top-0 last:before:-right-4 last:before:group-hover:bg-zinc-50 last:before:sm:rounded-r-xl;
}

/* This file is for your main application CSS */

0 comments on commit fab8e2a

Please sign in to comment.