diff --git a/AutoRobot/Windows/Robot/Web/src/DockLayout/TabPage.vue b/AutoRobot/Windows/Robot/Web/src/DockLayout/TabPage.vue index 7852d02..05cbf7c 100644 --- a/AutoRobot/Windows/Robot/Web/src/DockLayout/TabPage.vue +++ b/AutoRobot/Windows/Robot/Web/src/DockLayout/TabPage.vue @@ -8,18 +8,22 @@ :class="['tab-item', { 'active': activeTabIndex === index }]" @click="setActiveTab(index)" > -
{{ panel.title }}
-
- +
+
+ {{ panel.title }} +
+
+ +
@@ -102,7 +106,6 @@ const closeTab = (tabId) => { .tab-item { display: flex; align-items: center; - justify-content: space-between; height: 26px; padding: 0 16px; margin-left: 1px; @@ -118,17 +121,22 @@ const closeTab = (tabId) => { width: fit-content; } -.tab-title { +.tab-title-container { + display: flex; + align-items: center; + flex: 1; + margin-right: 8px; +} + +.tab-title-text { text-align: left; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - flex: 1; - margin-right: 8px; } -.tab-buttons { +.tab-buttons-container { display: flex; align-items: center; }