diff --git a/AutoRobot/Windows/Robot/Web/src/DockLayout/TabPage.vue b/AutoRobot/Windows/Robot/Web/src/DockLayout/TabPage.vue index 05cbf7c..21d0d67 100644 --- a/AutoRobot/Windows/Robot/Web/src/DockLayout/TabPage.vue +++ b/AutoRobot/Windows/Robot/Web/src/DockLayout/TabPage.vue @@ -8,23 +8,18 @@ :class="['tab-item', { 'active': activeTabIndex === index }]" @click="setActiveTab(index)" > -
-
- {{ panel.title }} -
-
- -
-
+ {{ panel.title }} + +
@@ -121,24 +116,18 @@ const closeTab = (tabId) => { width: fit-content; } -.tab-title-container { - display: flex; - align-items: center; - flex: 1; - margin-right: 8px; -} - -.tab-title-text { +.tab-title { text-align: left; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; + margin-right: 8px; } -.tab-buttons-container { - display: flex; - align-items: center; +.tab-spacer { + flex: 1; + min-width: 0; } .tab-item.active {