diff options
| author | Haishan <[email protected]> | 2019-12-04 00:13:16 +0800 |
|---|---|---|
| committer | Haishan <[email protected]> | 2019-12-04 00:13:16 +0800 |
| commit | 83f638620fb9aa8e5abbba98b656b699249586cb (patch) | |
| tree | a6a26d86372c4bdf10e6759ae52ef997c89754c3 /src/components/TrafficNow.module.css | |
| parent | 00e54b1b4fb1a1d45e389cde7ab455961f781b19 (diff) | |
feat: add upload/download total and connectors number on overview
Diffstat (limited to 'src/components/TrafficNow.module.css')
| -rw-r--r-- | src/components/TrafficNow.module.css | 33 |
1 files changed, 14 insertions, 19 deletions
diff --git a/src/components/TrafficNow.module.css b/src/components/TrafficNow.module.css index 7c3aee7..0bb2276 100644 --- a/src/components/TrafficNow.module.css +++ b/src/components/TrafficNow.module.css @@ -2,25 +2,20 @@ color: var(--color-text); display: flex; align-items: center; -} - -.up, -.down { - padding-top: 10px; - padding-bottom: 10px; - width: 200px; + flex-wrap: wrap; - div:nth-child(1) { - color: var(--color-text-secondary); - } - div:nth-child(2) { - padding: 10px 0 0; - font-size: 2em; + :global { + .sec { + padding: 10px; + width: 180px; + div:nth-child(1) { + color: var(--color-text-secondary); + font-size: 0.7em; + } + div:nth-child(2) { + padding: 10px 0 0; + font-size: 1.8em; + } + } } } -.up { - padding-right: 20px; -} -.down { - padding-left: 20px; -} |
