diff --git a/AutoRobot/Windows/Robot/Web/src/DockLayout/TabPage.vue b/AutoRobot/Windows/Robot/Web/src/DockLayout/TabPage.vue index 21d0d67..4082786 100644 --- a/AutoRobot/Windows/Robot/Web/src/DockLayout/TabPage.vue +++ b/AutoRobot/Windows/Robot/Web/src/DockLayout/TabPage.vue @@ -8,18 +8,19 @@ :class="['tab-item', { 'active': activeTabIndex === index }]" @click="setActiveTab(index)" > - {{ panel.title }} - - +
+ {{ panel.title }} + +
@@ -113,7 +114,7 @@ const closeTab = (tabId) => { font-size: 12px; user-select: none; position: relative; - width: fit-content; + min-width: 120px; } .tab-title { @@ -122,12 +123,7 @@ const closeTab = (tabId) => { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - margin-right: 8px; -} - -.tab-spacer { flex: 1; - min-width: 0; } .tab-item.active {