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 />
<style>
.pin,
.pin-active {
position: absolute;
right: 0;
z-index: 150;
}
.main {
padding: 5px;
cursor: pointer;
white-space: nowrap;
font-weight: normal;
position: relative;
}
.main:hover:not(.disableHover) {
background-color: var(--theme-bg-hover);
@@ -232,8 +227,13 @@
margin-right: 3px;
}
.pin,
.pin-active {
z-index: 150;
position: absolute;
right: 0;
}
.pin {
float: right;
color: var(--theme-font-2);
}
.pin:hover {
@@ -247,7 +247,6 @@
}
.unpin {
float: right;
color: var(--theme-font-2);
}
.unpin:hover {
@@ -255,7 +254,6 @@
}
.pin-active {
float: right;
color: var(--theme-font-2);
}
</style>