From 540f5ee42cf041af62fd64bdaecc82afd2eae2b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Tue, 10 Sep 2024 15:00:27 +0200 Subject: [PATCH] align last column to the right --- games/static/base.css | 4 ++++ games/templates/cotton/table_row.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/games/static/base.css b/games/static/base.css index 0d71b12..cc9bf9d 100644 --- a/games/static/base.css +++ b/games/static/base.css @@ -3188,6 +3188,10 @@ textarea:disabled:is(.dark *) { border-end-end-radius: 0.5rem; } +.\[\&_\:last-child\]\:text-right :last-child { + text-align: right; +} + .\[\&_a\]\:underline a { text-decoration-line: underline; } diff --git a/games/templates/cotton/table_row.html b/games/templates/cotton/table_row.html index 2610d9a..c2d9c7d 100644 --- a/games/templates/cotton/table_row.html +++ b/games/templates/cotton/table_row.html @@ -1,4 +1,4 @@ - + {% if slot %} {{ slot }} {% else %}