summaryrefslogtreecommitdiff
path: root/src/components/ConnectionTable.module.css
diff options
context:
space:
mode:
authorHaishan <[email protected]>2020-06-03 00:04:09 +0800
committerHaishan <[email protected]>2020-06-03 00:04:09 +0800
commit238e1e7df3669001de25b6343729af8e15b9eb76 (patch)
treeb5a69447706c900e10d277a6e7778bb227119867 /src/components/ConnectionTable.module.css
parent2edb46d7f6bf86b600fdf9d4a0c12919f3f0ebe0 (diff)
changed: reduce connections table visual width
for #488
Diffstat (limited to 'src/components/ConnectionTable.module.css')
-rw-r--r--src/components/ConnectionTable.module.css12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/components/ConnectionTable.module.css b/src/components/ConnectionTable.module.css
index 6697b58..80a8432 100644
--- a/src/components/ConnectionTable.module.css
+++ b/src/components/ConnectionTable.module.css
@@ -1,6 +1,7 @@
-.thead .tr {
+.tr {
display: grid;
- grid-template-columns: repeat(13, max-content);
+ /* grid-template-columns: repeat(11, minmax(max-content, 1fr)); */
+ grid-template-columns: repeat(11, minmax(max-content, auto));
}
.th {
@@ -9,10 +10,17 @@
background: var(--color-background);
position: sticky;
top: 0;
+ font-size: 0.8em;
+ text-align: center;
+ user-select: none;
display: flex;
align-items: center;
justify-content: space-between;
+
+ &:hover {
+ color: var(--color-text-highlight);
+ }
}
.td {