Skip to content

Commit

Permalink
fix(styles): select's button rtl [ci visual]
Browse files Browse the repository at this point in the history
  • Loading branch information
platon-rov committed Jan 19, 2023
1 parent dbd05d8 commit ee5f88a
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion packages/styles/src/select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ $fd-select-padding-x-compact: 0.5rem;
box-shadow: var(--fdInput_Group_Button_Box_Shadow);
@content;
}

@include fd-rtl() {
.#{$block}__button {
border-left-color: transparent;
border-right-color: $borderLeft;
}
}
}

@mixin fd-select-states-overwrite() {
Expand Down Expand Up @@ -62,6 +69,13 @@ $fd-select-padding-x-compact: 0.5rem;
box-shadow: map_get($set-props, "hoverBoxShadow");
}

@include fd-rtl() {
.#{$block}__button {
border-left-color: transparent;
border-right-color: var(--fdSelect_Expanded_Button_Border_Left_Color);
}
}

@include fd-focus() {
box-shadow: none;
}
Expand Down Expand Up @@ -97,7 +111,6 @@ $fd-select-padding-x-compact: 0.5rem;

.#{$block}__button {
@include fd-set-margin-left(0.25rem);
@include fd-input-group-button-overwrite();
}

@include fd-readonly() {
Expand Down

0 comments on commit ee5f88a

Please sign in to comment.