mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
faxed db group close buttpm style
This commit is contained in:
parent
0629123cc1
commit
7efd4be401
@ -387,15 +387,17 @@
|
|||||||
draggingDbGroupTarget = null;
|
draggingDbGroupTarget = null;
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<FontIcon icon={getDbIcon(tabGroup.tabDbKey)} padRight />
|
<div class="db-name-inner">
|
||||||
{tabGroup.tabDbName}
|
<FontIcon icon={getDbIcon(tabGroup.tabDbKey)} />
|
||||||
|
{tabGroup.tabDbName}
|
||||||
|
</div>
|
||||||
|
|
||||||
<span
|
<div
|
||||||
class="close-button-right tabCloseButton"
|
class="close-button-right tabCloseButton"
|
||||||
on:click={e => closeMultipleTabs(tab => tabGroup.tabs.find(x => x.tabid == tab.tabid))}
|
on:click={e => closeMultipleTabs(tab => tabGroup.tabs.find(x => x.tabid == tab.tabid))}
|
||||||
>
|
>
|
||||||
<FontIcon icon="icon close" />
|
<FontIcon icon="icon close" />
|
||||||
</span>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="db-group">
|
<div class="db-group">
|
||||||
{#each tabGroup.tabs as tab}
|
{#each tabGroup.tabs as tab}
|
||||||
@ -505,7 +507,10 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
.db-name-inner {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
flex-grow: 1;
|
||||||
}
|
}
|
||||||
/* .db-name:hover {
|
/* .db-name:hover {
|
||||||
background-color: var(--theme-bg-3);
|
background-color: var(--theme-bg-3);
|
||||||
@ -541,7 +546,6 @@
|
|||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
color: var(--theme-font-3);
|
color: var(--theme-font-3);
|
||||||
float: right;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.close-button:hover {
|
.close-button:hover {
|
||||||
|
Loading…
Reference in New Issue
Block a user