diff --git a/AutoRobot/Windows/Robot/Web/src/DockLayout/TabPage.vue b/AutoRobot/Windows/Robot/Web/src/DockLayout/TabPage.vue index aa6e3c1..f19343c 100644 --- a/AutoRobot/Windows/Robot/Web/src/DockLayout/TabPage.vue +++ b/AutoRobot/Windows/Robot/Web/src/DockLayout/TabPage.vue @@ -112,12 +112,12 @@ const closeTab = (tabId) => { font-size: 12px; user-select: none; position: relative; - width: fit-content; + min-width: fit-content; + flex: 0 0 auto; } .tab-title { text-align: left; - flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; @@ -144,7 +144,7 @@ const closeTab = (tabId) => { } .button-icon { - margin-left: auto; + margin-left: 8px; margin-right: -8px; background: transparent; border: none;