aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/app/Main.hs
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2024-06-04 15:42:33 +0200
committerLibravatar Alexander Foremny <aforemny@posteo.de>2024-06-04 15:42:33 +0200
commitd5f3f2333a4a167054c0a8556dfd8cd87f955595 (patch)
treeaeb587ac7fb8c606c5e7f042459a784aff75a896 /frontend/app/Main.hs
parented753b04104b27a9b258f174a501e2ae058b41ee (diff)
add table to list view
Diffstat (limited to 'frontend/app/Main.hs')
-rw-r--r--frontend/app/Main.hs17
1 files changed, 17 insertions, 0 deletions
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; }
|]
)
]