Skip to content

Commit

Permalink
fix(pagination): update flex:1 and update top offset to fix IE11 (#4315)
Browse files Browse the repository at this point in the history
* fix(pagination): remove flex:1 and add top offset to fix IE11

* chore(components): add reference comment for changes
  • Loading branch information
kbondanza authored and abbeyhrt committed Oct 22, 2019
1 parent bd0e615 commit 427a7dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion packages/components/src/components/form/_form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@
@include type-style('body-short-01');
display: flex;
flex-direction: column;
flex: 1;
// We specify `auto` as the default value so that the form item does
// not collapse in IE11 due to a `flex-basis` of 0 only working with
// `flex-direction: row`
flex: 1 1 auto;
align-items: flex-start;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ $css--helpers: true;
}

.#{$prefix}--pagination .#{$prefix}--select__arrow {
top: auto;
bottom: auto;
top: 50%;
transform: translateY(-50%);
@include carbon--breakpoint('md') {
right: $carbon--spacing-05;
}
Expand Down

0 comments on commit 427a7dd

Please sign in to comment.