Skip to content

Commit c3787a8

Browse files
committed
Change background tab active
1 parent 670579f commit c3787a8

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

index.js

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,8 @@ exports.decorateConfig = config => {
4141
],
4242
css: `
4343
${config.css || ''}
44-
.tabs_list .tab_tab.tab_active:after {
45-
content: " ";
46-
background: #6272a4;
47-
display: inline-block;
48-
width: 8px;
49-
height: 8px;
50-
position: absolute;
51-
top: 50%;
52-
left: 5px;
53-
border-radius: 100%;
54-
transform: translateY(-50%);
55-
-webkit-transform: translateY(-50%);
44+
.tabs_list .tab_tab.tab_active .tab_text {
45+
background: ${backgroundColor};
5646
}
5747
5848
.tab_active:before {

0 commit comments

Comments
 (0)