From 268892df4d1c46da9713ab00b0f26d34cc5fc87f Mon Sep 17 00:00:00 2001 From: ssongliu Date: Tue, 25 Nov 2025 18:41:39 +0800 Subject: [PATCH] style: Adjust container network details style --- .../container/container/inspect/index.vue | 12 +++++++-- .../views/container/network/detail/index.vue | 27 ++++++++++--------- 2 files changed, 25 insertions(+), 14 deletions(-) diff --git a/frontend/src/views/container/container/inspect/index.vue b/frontend/src/views/container/container/inspect/index.vue index 4da5765b2501..902e4b5b2329 100644 --- a/frontend/src/views/container/container/inspect/index.vue +++ b/frontend/src/views/container/container/inspect/index.vue @@ -42,7 +42,7 @@ -
+
{{ entry }} @@ -50,7 +50,7 @@ - -
+
{{ entry }} @@ -285,4 +285,12 @@ defineExpose({ margin-bottom: 16px; display: block; } + +.tag-list { + .el-tag { + & ~ .el-tag { + margin-left: 5px; + } + } +} diff --git a/frontend/src/views/container/network/detail/index.vue b/frontend/src/views/container/network/detail/index.vue index fc3bb6ce7762..7d3df1c1bb2b 100644 --- a/frontend/src/views/container/network/detail/index.vue +++ b/frontend/src/views/container/network/detail/index.vue @@ -14,6 +14,12 @@ {{ networkData?.Driver || '-' }} + + {{ networkData?.Options?.parent }} + {{ formatDate(networkData?.Created) }} @@ -39,18 +45,15 @@ :label="$t('container.subnet') + (index > 0 ? ' ' + (index + 1) : '')" >
-
- {{ $t('container.subnet') }}: - {{ config.Subnet }} -
-
- {{ $t('container.gateway') }}: - {{ config.Gateway }} -
-
- {{ $t('container.scope') }}: - {{ config.IPRange }} -
+ + {{ $t('container.subnet') }}: {{ config.Subnet }} + + + {{ $t('container.gateway') }}: {{ config.Gateway }} + + + {{ $t('container.scope') }}: {{ config.IPRange }} +
-