Skip to content

Commit c367e66

Browse files
saulotoledommalerba
authored andcommitted
fix(tab): add flex-basis hack for IE11 (#10369)
Fixes an issue where the content of a tab does not wrap in IE11. That happens because, for some reason, IE11 requires an explicit declaration that the tab content should occupy the full width of the tab while using flex. Fixes #10237
1 parent 1cc0c7f commit c367e66

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lib/tabs/tab-group.scss

+3
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@
4848
display: block;
4949
overflow: hidden;
5050

51+
// Fix for auto content wrapping in IE11
52+
flex-basis: 100%;
53+
5154
&.mat-tab-body-active {
5255
position: relative;
5356
overflow-x: hidden;

0 commit comments

Comments
 (0)