From fd14f53cb94eb15d40e7379fe73f32bce200e6e0 Mon Sep 17 00:00:00 2001 From: ssongliu <73214554+ssongliu@users.noreply.github.com> Date: Tue, 25 Nov 2025 18:51:18 +0800 Subject: [PATCH] style: Adjust container network details style (#11072) --- .../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 4da5765b2..902e4b5b2 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 fc3bb6ce7..7d3df1c1b 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 }} +
-