Skip to content

Commit

Permalink
feat(list): 优化滚动条样式 (#1601)
Browse files Browse the repository at this point in the history
  • Loading branch information
liweijie0812 authored Sep 22, 2023
1 parent 02a9d42 commit c00b493
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion style/web/components/list/_index.less
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,15 @@

@import "../../mixins/_reset.less";

@import "../../mixins/_scrollbar.less";

.@{prefix}-list {
.reset;
.scrollbar();

overflow: auto;
color: @list-font-color;
background: @list-bg-color-default;

&__inner {
.list-style-none();
Expand All @@ -23,7 +27,6 @@
&-item {
font: @list-item-font;
padding: @list-item-spacer-default;
background: @list-bg-color-default;
display: flex;
justify-content: space-between;
align-items: center;
Expand Down

0 comments on commit c00b493

Please sign in to comment.