Fix tabs css

This commit is contained in:
Arnaud 2024-09-10 13:48:13 +02:00
parent ef8726f92e
commit 6d3890dcbf
No known key found for this signature in database
GPG Key ID: 69D6CE281FCAE663
1 changed files with 9 additions and 2 deletions

View File

@ -13,6 +13,7 @@
cursor: pointer; cursor: pointer;
transition: 0.35s opacity; transition: 0.35s opacity;
z-index: 1; z-index: 1;
position: relative;
} }
.tabs-tab::after { .tabs-tab::after {
@ -33,8 +34,14 @@
opacity: 0.85; opacity: 0.85;
} }
.tabs-tab--active { .tabs-tab--active:after {
border-bottom: 2px solid var(--codex-color-contrast); width: 100%;
background-color: var(--codex-color-contrast);
content: " ";
position: absolute;
height: 2px;
top: 11px;
top: 31px;
} }
.tabs-icon { .tabs-icon {