Skip to content

fix(form-field): ie fixes: apply vertical alignment on select, tree-select #211

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/mosaic/select/select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ $mc-select-placeholder-arrow-space: 2 * ($mc-select-arrow-size + $mc-select-arro

display: inline-block;

// Fix IE aligning - default align in IE is baseline, not the middle of element
vertical-align: top;

width: 100%;

outline: none;
Expand Down
3 changes: 3 additions & 0 deletions packages/mosaic/tree-select/tree-select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ $mc-select-placeholder-arrow-space: 2 * ($mc-select-arrow-size + $mc-select-arro

display: inline-block;

// Fix IE aligning - default align in IE is baseline, not the middle of element
vertical-align: top;

width: 100%;

outline: none;
Expand Down