align last column to the right

This commit is contained in:
Lukáš Kucharczyk 2024-09-10 15:00:27 +02:00
parent 1c73268258
commit 540f5ee42c
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
2 changed files with 5 additions and 1 deletions

View File

@ -3188,6 +3188,10 @@ textarea:disabled:is(.dark *) {
border-end-end-radius: 0.5rem; border-end-end-radius: 0.5rem;
} }
.\[\&_\:last-child\]\:text-right :last-child {
text-align: right;
}
.\[\&_a\]\:underline a { .\[\&_a\]\:underline a {
text-decoration-line: underline; text-decoration-line: underline;
} }

View File

@ -1,4 +1,4 @@
<tr class="odd:bg-white odd:dark:bg-gray-900 even:bg-gray-50 even:dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 [&_a]:underline [&_a]:underline-offset-4 [&_a]:decoration-2"> <tr class="odd:bg-white odd:dark:bg-gray-900 even:bg-gray-50 even:dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 [&_a]:underline [&_a]:underline-offset-4 [&_a]:decoration-2 [&_:last-child]:text-right">
{% if slot %} {% if slot %}
{{ slot }} {{ slot }}
{% else %} {% else %}