Skip to content

Commit

Permalink
fix(comp:select): selectOptionFontSize theme var reference error (#1777)
Browse files Browse the repository at this point in the history
  • Loading branch information
sallerli1 committed Dec 27, 2023
1 parent bb77f91 commit 3cd5982
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/components/select/style/index.less
Expand Up @@ -5,10 +5,10 @@
@import './mixin.less';

.@{select-prefix} {
@option-line-height: calc(var(--ix-select-font-size) + var(--ix-line-height-gutter));
@option-line-height: calc(var(--ix-select-option-font-size) + var(--ix-line-height-gutter));
&-option {
.reset-component();
.select-option(var(--ix-select-font-size), var(--ix-color-text));
.select-option(var(--ix-select-option-font-size), var(--ix-color-text));

&-disabled {
color: var(--ix-color-text-disabled);
Expand Down Expand Up @@ -37,7 +37,7 @@

&-option-group {
.reset-component();
.select-option(var(--ix-select-font-size), var(--ix-color-text-info));
.select-option(var(--ix-select-option-font-size), var(--ix-color-text-info));

display: block;
margin: var(--ix-select-option-group-margin);
Expand Down
2 changes: 1 addition & 1 deletion packages/pro/search/style/panel.less
Expand Up @@ -41,7 +41,7 @@
}
}
&-select-all-option {
.select-option(var(--ix-select-font-size), var(--ix-color-text));
.select-option(var(--ix-select-option-font-size), var(--ix-color-text));

border-bottom: @pro-search-border-width @pro-search-border-style @pro-search-border-color;

Expand Down

0 comments on commit 3cd5982

Please sign in to comment.