Skip to content

Commit c618f63

Browse files
committed
fix(scss): .sidebar .nav-link.disabled
- plus: temp fix for vue `::after` sidebar-minimized last-child
1 parent 56f33b3 commit c618f63

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## v2.1.4
2+
- fix(scss): .sidebar .nav-link.disabled
3+
14
## v2.1.3
25
- chore: update `nodemon` to `1.18.7` (remove vulnerability)
36

scss/_sidebar.scss

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,8 +418,11 @@
418418
.nav-icon {
419419
color: $sidebar-nav-link-hover-color;
420420
}
421+
}
422+
.nav-link {
421423

422-
&.disabled {
424+
&.disabled,
425+
:disabled {
423426
background: $sidebar-nav-link-disabled-bg;
424427

425428
.nav-icon {
@@ -429,6 +432,17 @@
429432
}
430433
}
431434
}
435+
// temp fix for vue version
436+
section {
437+
:not(.nav-dropdown-items) > {
438+
.nav-item:last-child::after {
439+
display: block;
440+
margin-bottom: $sidebar-minimizer-height;
441+
content: "";
442+
}
443+
}
444+
}
445+
// temp fix end
432446

433447
.nav-link {
434448
position: relative;

0 commit comments

Comments
 (0)