Skip to content

Commit dde372d

Browse files
committed
Update Tabs styles to adjust margins and refine tab hover and active states
1 parent 1efefa7 commit dde372d

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎packages/ui/src/components/editor/panel/Tabs/Tabs.module.scss‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.tabs {
22
height: 28px;
33
padding: 0 12px;
4+
margin-bottom: 8px;
45
display: flex;
56
justify-content: space-between;
67
align-items: center;
@@ -29,6 +30,10 @@
2930
cursor: pointer;
3031
position: relative;
3132

33+
&:hover {
34+
color: var(--cwc-text-color);
35+
}
36+
3237
&::after {
3338
content: '';
3439
position: absolute;
@@ -43,13 +48,8 @@
4348
outline: none;
4449
}
4550

46-
&:hover {
47-
opacity: 1;
48-
}
49-
5051
&--active {
51-
opacity: 1;
52-
color: var(--vscode-foreground);
52+
color: var(--cwc-text-color);
5353

5454
&::after {
5555
background-color: var(--vscode-button-background);

0 commit comments

Comments
 (0)