Skip to content

Commit

Permalink
enhance: 避免因优先级导致css变量无法生效
Browse files Browse the repository at this point in the history
  • Loading branch information
DreamyTZK committed Jun 24, 2024
1 parent 2203ba2 commit 1526f52
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/components/nav-bar/nav-bar.less
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
@class-prefix-nav-bar: ~'adm-nav-bar';

.@{class-prefix-nav-bar} {
--height: 45px;
--border-bottom: none;
display: flex;
align-items: center;
height: var(--height);
border-bottom: var(--border-bottom);
height: var(--height, 45px);
border-bottom: var(--border-bottom, none);
padding: 0 12px;
white-space: nowrap;

Expand Down

0 comments on commit 1526f52

Please sign in to comment.