Skip to content

Commit f22fa7d

Browse files
committed
style: 精简样式
1 parent aa5842d commit f22fa7d

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

src/BootstrapBlazor/Components/AutoComplete/AutoComplete.razor.scss

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
.auto-complete {
22
--bb-ac-padding-right: #{$bb-ac-padding-right};
3-
--bb-ac-menu-top: #{$bb-ac-menu-top};
4-
--bb-ac-menu-left: #{$bb-ac-menu-left};
5-
--bb-ac-menu-right: #{$bb-ac-menu-right};
6-
--bb-ac-menu-shadow: #{$bb-ac-menu-shadow};
7-
--bb-ac-dropdown-max-height: var(--bb-dropdown-max-height);
83
--bb-select-append-width: #{$bb-select-append-width};
94
--bb-select-append-color: #{$bb-select-append-color};
105
position: relative;
@@ -15,11 +10,7 @@
1510
}
1611

1712
.dropdown-menu {
18-
top: var(--bb-ac-menu-top);
19-
left: var(--bb-ac-menu-left);
20-
right: var(--bb-ac-menu-right);
21-
box-shadow: var(--bb-ac-menu-shadow);
22-
max-height: var(--bb-ac-dropdown-max-height);
13+
width: 100%;
2314
}
2415

2516
.ac-loading {

src/BootstrapBlazor/wwwroot/scss/theme/bootstrapblazor.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ $bb-anchor-link-opacity-transition: opacity .3s linear;
2121

2222
// AutoComplete
2323
$bb-ac-padding-right: 30px;
24-
$bb-ac-menu-top: 40px;
25-
$bb-ac-menu-left: 0;
26-
$bb-ac-menu-right: 0;
27-
$bb-ac-menu-shadow: 0 2px 8px rgba(0, 0, 0, 0.176);
2824

2925
// Avatar
3026
$bb-avatar-width: 50px;

0 commit comments

Comments
 (0)