mirror of
https://github.com/wavetermdev/waveterm
synced 2026-05-05 22:48:48 +00:00
Show hover effect on dragging tab (#1459)
This commit is contained in:
parent
f8111feba3
commit
bedea6d3be
2 changed files with 3 additions and 2 deletions
|
|
@ -103,7 +103,8 @@
|
|||
}
|
||||
|
||||
// Only apply hover effects when not in nohover mode. This prevents the previously-hovered tab from remaining hovered while a tab view is not mounted.
|
||||
body:not(.nohover) .tab:hover {
|
||||
body:not(.nohover) .tab:hover,
|
||||
body:not(.nohover) .tab.dragging {
|
||||
& + .tab::after,
|
||||
&::after {
|
||||
content: none;
|
||||
|
|
|
|||
|
|
@ -200,7 +200,7 @@ const Tab = memo(
|
|||
ref={tabRef}
|
||||
className={clsx("tab", {
|
||||
active,
|
||||
isDragging,
|
||||
dragging: isDragging,
|
||||
"before-active": isBeforeActive,
|
||||
"new-tab": isNew,
|
||||
})}
|
||||
|
|
|
|||
Loading…
Reference in a new issue