From 59220bd5bd46b63d1cbbf8613944246ad3ffa031 Mon Sep 17 00:00:00 2001 From: danieldin95 Date: Mon, 15 Mar 2021 22:25:49 +0800 Subject: [PATCH] update --- src/http/static/css/boot.css | 2 +- src/http/static/css/instance.css | 4 ++++ src/http/static/css/main.css | 15 ++++++++++++++- src/http/static/js/widget/container/guest.js | 2 +- 4 files changed, 20 insertions(+), 3 deletions(-) diff --git a/src/http/static/css/boot.css b/src/http/static/css/boot.css index 5492b3c..272d055 100755 --- a/src/http/static/css/boot.css +++ b/src/http/static/css/boot.css @@ -160,7 +160,7 @@ a:hover, a:focus { .card-body-tbl { overflow: auto; - min-height: 300px; + min-height: 200px; max-height: 500px; } diff --git a/src/http/static/css/instance.css b/src/http/static/css/instance.css index 867def8..0340271 100755 --- a/src/http/static/css/instance.css +++ b/src/http/static/css/instance.css @@ -12,6 +12,10 @@ color: black; } +.device .card-body-tbl { + min-height: 300px; +} + .modal-console { min-width: 802px; min-height: 660px; diff --git a/src/http/static/css/main.css b/src/http/static/css/main.css index 1338c4c..83dfa43 100755 --- a/src/http/static/css/main.css +++ b/src/http/static/css/main.css @@ -1,5 +1,18 @@ @media (min-width: 768px) { .dl-horizontal dt { + float: left; + width: 180px; + overflow: hidden; + clear: left; + text-overflow: ellipsis; + white-space: nowrap; + font-weight: normal; + } + .dl-horizontal dd { + margin-left: 180px; + padding-left: 15px; + } + .dl-horizontal-center dt { float: left; width: 20%; overflow: hidden; @@ -9,7 +22,7 @@ font-weight: normal; text-align: right; } - .dl-horizontal dd { + .dl-horizontal-center dd { margin-left: 20%; padding-left: 15px; } diff --git a/src/http/static/js/widget/container/guest.js b/src/http/static/js/widget/container/guest.js index afd9c71..4dd35d0 100755 --- a/src/http/static/js/widget/container/guest.js +++ b/src/http/static/js/widget/container/guest.js @@ -185,7 +185,7 @@ export class Guest extends Container {
-
+
{{'name' | i}}:
 {{name}}
{{'state' | i}}: