Style fixes for file table

This commit is contained in:
Adam Hopkins 2023-01-26 17:26:42 +02:00
parent 2c8f1807d8
commit fa6dbddf69
No known key found for this signature in database
GPG Key ID: 9F85EE6C807303FB

View File

@ -16,9 +16,11 @@ class FileInfo(TypedDict):
class AutoIndex(BasePage):
EXTRA_STYLE = dedent(
"""
table.autoindex td:first-child { width: 65% }
table.autoindex tr { display: flex; }
table.autoindex td { margin: 0 0.5rem; }
table.autoindex td:first-child { flex: 1; }
table.autoindex td:nth-child(2) { text-align: right; }
table.autoindex td:last-child { width: 215px; text-align: right; }
table.autoindex td:last-child { text-align: right; }
"""
)
TITLE = "📁 File browser"