From d5f3f2333a4a167054c0a8556dfd8cd87f955595 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Tue, 4 Jun 2024 15:42:33 +0200 Subject: add table to list view --- frontend/app/Main.hs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'frontend/app/Main.hs') diff --git a/frontend/app/Main.hs b/frontend/app/Main.hs index 7345a98..4ef4def 100644 --- a/frontend/app/Main.hs +++ b/frontend/app/Main.hs @@ -147,6 +147,23 @@ header section { margin-left: auto; } header section:first-child { margin-left: 0; } + +/* table layout */ +th, td { + text-align: left; + padding: 0 16px; + line-height: 52px; + text-overflow: ellipsis; +} + +/* table borders */ +table { + border-collapse: collapse; + border-left: 1px solid gray; + border-right: 1px solid gray; } +th, td { + border-top: 1px solid gray; + border-bottom: 1px solid gray; } |] ) ] -- cgit v1.2.3