mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-29 21:33:58 +00:00
fixed Pin icon misplaced #1007
This commit is contained in:
@@ -196,17 +196,12 @@
|
|||||||
<slot />
|
<slot />
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.pin,
|
|
||||||
.pin-active {
|
|
||||||
position: absolute;
|
|
||||||
right: 0;
|
|
||||||
z-index: 150;
|
|
||||||
}
|
|
||||||
.main {
|
.main {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
.main:hover:not(.disableHover) {
|
.main:hover:not(.disableHover) {
|
||||||
background-color: var(--theme-bg-hover);
|
background-color: var(--theme-bg-hover);
|
||||||
@@ -232,8 +227,13 @@
|
|||||||
margin-right: 3px;
|
margin-right: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.pin,
|
||||||
|
.pin-active {
|
||||||
|
z-index: 150;
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
.pin {
|
.pin {
|
||||||
float: right;
|
|
||||||
color: var(--theme-font-2);
|
color: var(--theme-font-2);
|
||||||
}
|
}
|
||||||
.pin:hover {
|
.pin:hover {
|
||||||
@@ -247,7 +247,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.unpin {
|
.unpin {
|
||||||
float: right;
|
|
||||||
color: var(--theme-font-2);
|
color: var(--theme-font-2);
|
||||||
}
|
}
|
||||||
.unpin:hover {
|
.unpin:hover {
|
||||||
@@ -255,7 +254,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.pin-active {
|
.pin-active {
|
||||||
float: right;
|
|
||||||
color: var(--theme-font-2);
|
color: var(--theme-font-2);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user