Skip to content

Commit

Permalink
refactor: πŸ’‘ use input-width instead
Browse files Browse the repository at this point in the history
βœ… Closes: element-plus#16619
  • Loading branch information
xxholly32 committed Apr 24, 2024
1 parent b1eb16c commit 55af026
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/theme-chalk/src/autocomplete.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
@use 'common/var' as *;

@include b(autocomplete) {
width: 100%;
@include set-component-css-var('input', $input);
}

@include b(autocomplete) {
width: getCssVar('input-width');
position: relative;
display: inline-block;

Expand Down

0 comments on commit 55af026

Please sign in to comment.