diff --git a/frontend/src/pages/settings/SettingsPage.vue b/frontend/src/pages/settings/SettingsPage.vue index 3401e328..052ae727 100644 --- a/frontend/src/pages/settings/SettingsPage.vue +++ b/frontend/src/pages/settings/SettingsPage.vue @@ -228,39 +228,49 @@ onBeforeUnmount(() => { - + @@ -333,4 +343,33 @@ onBeforeUnmount(() => { .tab-pane { padding-top: 20px; } + +.icons-only :deep(.ant-tabs-nav) { + margin-bottom: 8px; +} + +.icons-only :deep(.ant-tabs-nav-wrap) { + width: 100%; +} + +.icons-only :deep(.ant-tabs-nav-list) { + display: flex; + width: 100%; +} + +.icons-only :deep(.ant-tabs-tab) { + flex: 1 1 0; + justify-content: center; + margin: 0; + padding: 10px 0; +} + +.icons-only :deep(.ant-tabs-tab .anticon) { + margin: 0; + font-size: 18px; +} + +.icons-only :deep(.ant-tabs-nav-operations) { + display: none; +} diff --git a/frontend/src/pages/xray/XrayPage.vue b/frontend/src/pages/xray/XrayPage.vue index 6137d0c0..ba04c59f 100644 --- a/frontend/src/pages/xray/XrayPage.vue +++ b/frontend/src/pages/xray/XrayPage.vue @@ -301,10 +301,13 @@ onBeforeUnmount(() => { - + { @@ -322,7 +328,10 @@ onBeforeUnmount(() => { { { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 12px; } + +.icons-only :deep(.ant-tabs-nav) { + margin-bottom: 8px; +} + +.icons-only :deep(.ant-tabs-nav-wrap) { + width: 100%; +} + +.icons-only :deep(.ant-tabs-nav-list) { + display: flex; + width: 100%; +} + +.icons-only :deep(.ant-tabs-tab) { + flex: 1 1 0; + justify-content: center; + margin: 0; + padding: 10px 0; +} + +.icons-only :deep(.ant-tabs-tab .anticon) { + margin: 0; + font-size: 18px; +} + +.icons-only :deep(.ant-tabs-nav-operations) { + display: none; +}