diff --git a/src/autocomplete.scss b/src/autocomplete.scss index 667b2e1c..12dca8c3 100644 --- a/src/autocomplete.scss +++ b/src/autocomplete.scss @@ -16,7 +16,7 @@ border-radius: $--border-radius-base; @include e(wrap) { - max-height: 280px; + max-height: $--input-autocomplete-max-height; padding: 10px 0; box-sizing: border-box; overflow: auto; diff --git a/src/common/var.scss b/src/common/var.scss index af49edc3..e54567b4 100644 --- a/src/common/var.scss +++ b/src/common/var.scss @@ -327,6 +327,7 @@ $--input-color-disabled: $--font-color-disabled-base !default; $--input-icon-color: $--color-text-placeholder !default; $--input-placeholder-color: $--color-text-placeholder !default; $--input-max-width: 314px !default; +$--input-autocomplete-max-height: 280px !default; $--input-hover-border: $--border-color-hover !default; $--input-clear-hover-color: $--color-text-secondary !default;