mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-21 16:38:23 +01:00
Fix wrong dragged tab background theme (#469)
This commit is contained in:
parent
c7b77608a2
commit
338b9c41c7
@ -72,9 +72,6 @@ class ScreenTab extends React.Component<
|
||||
ref={this.tabRef}
|
||||
value={screen}
|
||||
id={"screentab-" + screen.screenId}
|
||||
whileDrag={{
|
||||
backgroundColor: "rgba(13, 13, 13, 0.85)",
|
||||
}}
|
||||
data-screenid={screen.screenId}
|
||||
className={cn(
|
||||
"screen-tab",
|
||||
|
@ -99,6 +99,7 @@
|
||||
flex-direction: row;
|
||||
position: relative;
|
||||
border-top: 2px solid transparent;
|
||||
background: var(--app-bg-color);
|
||||
|
||||
.background {
|
||||
// This applies a transparency mask to the background color, as set above, so that it will blend with whatever the theme's background color is.
|
||||
|
Loading…
Reference in New Issue
Block a user