Skip to content

Commit

Permalink
Apply flex basis value for all input-group inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
salarenko committed Mar 3, 2020
1 parent eed8efb commit 8f9da57
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/input-group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ $fd-input-border-radius: var(--sapField_BorderCornerRadius);

.#{$block} {

$fd-input-width-basis: 10rem;
$fd-input-group-add-on-border: 0.0625rem;
$fd-input-group-button-active-text-color: var(--sapButton_Active_TextColor);
$fd-input-group-button-active-background: var(--sapButton_Active_Background);
Expand Down Expand Up @@ -69,7 +70,7 @@ $fd-input-border-radius: var(--sapField_BorderCornerRadius);

background-color: transparent;
border: none;
flex: 1;
flex: 1 1 $fd-input-width-basis;
padding-right: 0.25rem;
padding-left: 0.25rem;

Expand Down Expand Up @@ -102,11 +103,6 @@ $fd-input-border-radius: var(--sapField_BorderCornerRadius);
padding-right: 0.25rem;
}
}

/** Behaviour only for IE10+ */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
flex-basis: 160px;
}
}

&--inline {
Expand Down

0 comments on commit 8f9da57

Please sign in to comment.