mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-03-11 13:23:06 +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}
|
ref={this.tabRef}
|
||||||
value={screen}
|
value={screen}
|
||||||
id={"screentab-" + screen.screenId}
|
id={"screentab-" + screen.screenId}
|
||||||
whileDrag={{
|
|
||||||
backgroundColor: "rgba(13, 13, 13, 0.85)",
|
|
||||||
}}
|
|
||||||
data-screenid={screen.screenId}
|
data-screenid={screen.screenId}
|
||||||
className={cn(
|
className={cn(
|
||||||
"screen-tab",
|
"screen-tab",
|
||||||
|
@ -99,6 +99,7 @@
|
|||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
position: relative;
|
position: relative;
|
||||||
border-top: 2px solid transparent;
|
border-top: 2px solid transparent;
|
||||||
|
background: var(--app-bg-color);
|
||||||
|
|
||||||
.background {
|
.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.
|
// 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