tiny issue fix.

This commit is contained in:
2023-04-04 23:26:46 +08:00
parent fa1b7df4a0
commit adb74b7441
7 changed files with 130 additions and 27 deletions

View File

@ -179,7 +179,6 @@ $listMaxHeight: 210px;
left: -1px;
&.slide-up {
top: auto;
/*border-top-width: 1px;
border-bottom-width: 0;*/
transform-origin: bottom;

View File

@ -18,6 +18,7 @@
& {
--hover-bg-color: lightyellow;
--link-fore-color: #1890ff;
--link-disabled-color: #d9d9d9;
--header-border-color: #adaba9;
--header-bg-color: #fafafa;
--header-fore-color: #000;
@ -280,6 +281,11 @@
>.dropdown-panel {
top: calc(var(--line-height) + 2px);
&.slide-up {
top: unset;
bottom: calc(var(--line-height) + 2px);
}
}
}
@ -291,16 +297,25 @@
align-items: center;
position: relative;
svg {
>svg {
width: 16px;
height: 16px;
fill: var(--link-fore-color);
transition: opacity .12s ease;
}
&:hover svg {
&:hover>svg {
opacity: .4;
}
&.disabled {
cursor: unset;
>svg {
fill: var(--header-border-color);
opacity: unset;
}
}
}
}
}

View File

@ -9,12 +9,12 @@
}
.tooltip-wrapper {
position: absolute;
position: fixed;
word-wrap: break-word;
height: auto;
text-align: left;
z-index: 250;
min-width: 75px;
min-width: 45px;
max-width: 480px;
min-height: 32px;
border-radius: 2px;