From c12e9e6eaa3c09c02ad6aaa98f315c0f6ff09456 Mon Sep 17 00:00:00 2001 From: Larvan2 <78135608+Larvan2@users.noreply.github.com> Date: Thu, 13 Apr 2023 17:54:48 +0800 Subject: no break --- src/components/ConnectionTable.module.scss | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'src/components/ConnectionTable.module.scss') diff --git a/src/components/ConnectionTable.module.scss b/src/components/ConnectionTable.module.scss index 729765d..4f17a5c 100644 --- a/src/components/ConnectionTable.module.scss +++ b/src/components/ConnectionTable.module.scss @@ -5,7 +5,7 @@ } .th { - padding: 3% 0%; + padding: 3% 2px; height: 50px; background: var(--color-background); position: sticky; @@ -24,7 +24,7 @@ } .thdu { - padding: 3% 0%; + padding: 3% 2px; height: 50px; background: var(--color-background); position: sticky; @@ -35,22 +35,28 @@ vertical-align: middle; display: flex; align-items: center; - justify-content: space-evenly; + justify-content: center; &:hover { color: var(--color-text-highlight); } } +.break { + word-wrap: break-word; + word-break: break-all; + align-items: center; + text-align: left; +} + .td { /* 上边下边 | 左边右边 */ - padding: 4% 2%; + padding: 10px 2px; font-size: 0.9em; - max-width: 14em; + // max-width: 14em; min-width: 9em; - word-wrap: break-word; - word-break: break-all; cursor: default; + align-items: center; text-align: left; vertical-align: middle; &:hover { @@ -64,10 +70,9 @@ } /* download upload td cells */ -.du { +.center { min-width: 7em; text-align: center; - justify-content: space-around; } .sortIconContainer { -- cgit v1.3.1