更新TabPage布局样式和Panel相关修改
This commit is contained in:
@@ -192,7 +192,6 @@ const onDragEnd = () => {
|
|||||||
<style scoped>
|
<style scoped>
|
||||||
/* 面板基础样式 */
|
/* 面板基础样式 */
|
||||||
.panel {
|
.panel {
|
||||||
border: 1px solid #c7d2ea;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
:class="['tab-item', { 'active': activeTabIndex === index }]"
|
:class="['tab-item', { 'active': activeTabIndex === index }]"
|
||||||
@click="setActiveTab(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>
|
<span class="tab-title">{{ panel.title }}</span>
|
||||||
<button
|
<button
|
||||||
class="button-icon p-[2px] rounded hover:opacity-100 opacity-80"
|
class="button-icon p-[2px] rounded hover:opacity-100 opacity-80"
|
||||||
@@ -110,7 +110,7 @@ const closeTab = (tabId) => {
|
|||||||
color: white;
|
color: white;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
min-width: 120px;
|
min-width: 60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-title {
|
.tab-title {
|
||||||
|
|||||||
Reference in New Issue
Block a user