diff --git a/games/static/base.css b/games/static/base.css index 43e7a90..1132bfd 100644 --- a/games/static/base.css +++ b/games/static/base.css @@ -3117,6 +3117,10 @@ textarea:disabled:is(.dark *) { flex-direction: row; } + .md\:justify-between { + justify-content: space-between; + } + .md\:space-x-8 > :not([hidden]) ~ :not([hidden]) { --tw-space-x-reverse: 0; margin-right: calc(2rem * var(--tw-space-x-reverse)); @@ -3260,3 +3264,13 @@ textarea:disabled:is(.dark *) { .\[\&_td\:last-child\]\:text-right td:last-child { text-align: right; } + +@media not all and (min-width: 640px) { + .\[\&_td\:not\(\:first-child\)\:not\(\:last-child\)\]\:max-sm\:hidden td:not(:first-child):not(:last-child) { + display: none; + } + + .\[\&_th\:not\(\:first-child\)\:not\(\:last-child\)\]\:max-sm\:hidden th:not(:first-child):not(:last-child) { + display: none; + } +} diff --git a/games/templates/cotton/simple_table.html b/games/templates/cotton/simple_table.html index 97ed1f5..8d3c28c 100644 --- a/games/templates/cotton/simple_table.html +++ b/games/templates/cotton/simple_table.html @@ -7,20 +7,20 @@ {{ header_action }} {% endif %} - + {% for column in columns %}{{ column }}{% endfor %} - + {% for row in rows %}{% endfor %} {% if page_obj and elided_page_range %} -