Skip to content

Commit

Permalink
fix(multiselect): multyselect tag size #90 (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
Margar1ta authored and pimenovoleg committed Jul 19, 2019
1 parent e0b4f04 commit c76b96a
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions packages/mosaic/select/select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@ $mc-select-placeholder-arrow-space: 2 * ($mc-select-arrow-size + $mc-select-arro
cursor: pointer;

// todo возможно нужно через JS
padding: 3px 7px 3px 15px;
padding: {
right: 7px;
left: 15px;
};

&.mc-select__trigger_multiple {
padding-left: 7px;
Expand All @@ -71,9 +74,6 @@ $mc-select-placeholder-arrow-space: 2 * ($mc-select-arrow-size + $mc-select-arro
overflow: hidden;
text-overflow: ellipsis;

// compensate borders
margin-top: -2px;

white-space: nowrap;

& > span {
Expand All @@ -87,7 +87,7 @@ $mc-select-placeholder-arrow-space: 2 * ($mc-select-arrow-size + $mc-select-arro

overflow: hidden;

max-height: 26px;
max-height: 28px;

margin: 0;
padding-left: 0;
Expand Down Expand Up @@ -127,8 +127,7 @@ $mc-select-placeholder-arrow-space: 2 * ($mc-select-arrow-size + $mc-select-arro
}

.mc-select__arrow-wrapper {
display: table-cell;
vertical-align: middle;
align-self: center;

// When used in a box or standard appearance form-field the arrow should be shifted up 50%.
.mc-form-field-appearance-fill &,
Expand Down

0 comments on commit c76b96a

Please sign in to comment.