diff --git a/AutoRobot/Windows/Robot/Web/src/DockLayout/TabPage.vue b/AutoRobot/Windows/Robot/Web/src/DockLayout/TabPage.vue index 65a57d8..bee4159 100644 --- a/AutoRobot/Windows/Robot/Web/src/DockLayout/TabPage.vue +++ b/AutoRobot/Windows/Robot/Web/src/DockLayout/TabPage.vue @@ -8,17 +8,21 @@ :class="['tab-item', { 'active': activeTabIndex === index }]" @click="setActiveTab(index)" > -
{{ panel.title }}
- +
+
{{ panel.title }}
+
+
+ +
@@ -116,6 +120,11 @@ const closeTab = (tabId) => { width: fit-content; } +.tab-title-container { + display: flex; + align-items: center; +} + .tab-title { text-align: left; min-width: 0; @@ -126,6 +135,11 @@ const closeTab = (tabId) => { margin-right: 8px; } +.tab-buttons { + display: flex; + align-items: center; +} + .tab-item.active { background: #ffffff; border: 1px solid #c7d2ea; @@ -146,7 +160,6 @@ const closeTab = (tabId) => { } .button-icon { - margin-right: -8px; background: transparent; border: none; cursor: pointer;