fixed Pin icon misplaced #1007

This commit is contained in:
SPRINX0\prochazka
2025-01-24 14:59:09 +01:00
parent e574667651
commit e84af5af96

View File

@@ -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>