更新TabPage布局样式和Panel相关修改

This commit is contained in:
zqm
2025-11-05 16:33:14 +08:00
parent 868907ef7a
commit cad92346f9
2 changed files with 2 additions and 3 deletions

View File

@@ -192,7 +192,6 @@ const onDragEnd = () => {
<style scoped>
/* 面板基础样式 */
.panel {
border: 1px solid #c7d2ea;
display: flex;
flex-direction: column;
width: 100%;

View File

@@ -8,7 +8,7 @@
:class="['tab-item', { 'active': activeTabIndex === index }]"
@click="setActiveTab(index)"
>
<div class="flex items-center justify-between w-full px-16">
<div class="flex items-center justify-between h-full px-3">
<span class="tab-title">{{ panel.title }}</span>
<button
class="button-icon p-[2px] rounded hover:opacity-100 opacity-80"
@@ -110,7 +110,7 @@ const closeTab = (tabId) => {
color: white;
font-size: 12px;
user-select: none;
min-width: 120px;
min-width: 60px;
}
.tab-title {