Merge pull request #879 from mathuo/877-missing-tab-divider-in-40

bug: fix tab divider css
This commit is contained in:
mathuo 2025-03-14 21:59:03 +00:00 committed by GitHub
commit 9373802115
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,27 +5,17 @@
scrollbar-width: thin; // firefox
&.dv-horizontal {
.dv-tabs-container {
.dv-tab {
&:last-child {
margin-right: 0;
}
&:not(:nth-last-child(1)) {
margin-left: 0;
}
&:not(:first-child)::before {
content: ' ';
position: absolute;
top: 0;
left: 0;
z-index: 5;
pointer-events: none;
background-color: var(--dv-tab-divider-color);
width: 1px;
height: 100%;
}
.dv-tab {
&:not(:first-child)::before {
content: ' ';
position: absolute;
top: 0;
left: 0;
z-index: 5;
pointer-events: none;
background-color: var(--dv-tab-divider-color);
width: 1px;
height: 100%;
}
}
}