-
Notifications
You must be signed in to change notification settings - Fork 3.4k
md-tabs: text turns to dots on small screen on IE11 #10406
Comments
Please provide a codepen so we can investigate further. |
This also happens in IE11. Open the demo page in IE 11 to see the issue: |
May I suggest that the 'needs:demo' and 'P5 - Needs Investigation' labels be removed? This issue is 'demoable' on this page when viewing in IE11: https://material.angularjs.org/latest/demo/tabs Perhaps the "browser: IE" label can be added as well to give this issue more visibility and urgency. |
This bug was introduced in 1.1.2 |
+1 for a fix - We are too running into this issue when number of tabs exceeds the horizontal space |
1 similar comment
+1 for a fix - We are too running into this issue when number of tabs exceeds the horizontal space |
+1 |
2 similar comments
+1 |
+1 |
+1 |
Verified that this is not reproducible on Chrome, Firefox, or Safari. |
As mentioned by @zakaoai, just setting the I tried just adding |
tab-items should have 12px right/left padding instead of 24px - this is to align with the spec and more of the label visible on mobile previous commits removed use of getMinTabWidth but never updated CSS - this applies the proper min-width CSS to match the spec remove unused calcPagingWidth() convert all translate3d to translate for better IE11 support Fixes #10406
I have opened PR #11432 to address this via CSS changes to |
tab-items should have 12px right/left padding instead of 24px - this is to align with the spec and more of the label visible on mobile previous commits removed use of getMinTabWidth but never updated CSS - this applies the proper min-width CSS to match the spec remove unused calcPagingWidth() convert all translate3d to translate for better IE11 support Fixes #10406
tab-items should have 12px right/left padding instead of 24px - this is to align with the spec and more of the label visible on mobile remove unused calcPagingWidth() convert all translate3d to translate for better IE11 support Fixes #10406
remove unused calcPagingWidth() convert all translate3d to translate for better IE11 support Fixes #10406
remove unused calcPagingWidth() convert all translate3d to translate for better IE11 support Fixes #10406
- tab-items should have `12px` right/left padding instead of `24px` - this is to align with the spec and more of the label visible on mobile - remove unused `calcPagingWidth()` - convert all `translate3d` to `translate` for better IE11 support Fixes #10406. BREAKING CHANGE: Tab items now have a `min-width` and `padding` which matches the Material Design specification. For width, this is `72px` on `xs` screens and `160px` on all other screens. For left and right `padding`, this is now `12px` instead of `24px`. If your app needs to have tabs which are smaller than the spec, you will need to override `md-tab-item`'s `min-width` and `md-tab`'s `padding` styles.
- previous commits removed use of `getMinTabWidth` but never updated the related CSS - this applies the proper `min-width` CSS to match the spec - which is `72px` on `xs` and `160px` on everything else - this also changes the left and right padding from `24px` to `12px` to align with the spec Relates to #10406. Relates to #11432. BREAKING CHANGE: Tab items now have a `min-width` and `padding` which matches the Material Design specification. For width, this is `72px` on `xs` screens and `160px` on all other screens. For left and right `padding`, this is now `12px` instead of `24px`. If your app needs to have tabs which are smaller than the spec, you will need to override `md-tab-item`'s `min-width` and `md-tab`'s `padding` styles.
- previous commits removed use of `getMinTabWidth` but never updated the related CSS - this applies the proper `min-width` CSS to match the spec - which is `72px` on `xs` and `160px` on everything else - this also changes the left and right padding from `24px` to `12px` to align with the spec Relates to #10406. Relates to #11432. BREAKING CHANGE: Tab items now have a `min-width` and `padding` which matches the Material Design specification. For width, this is `72px` on `xs` screens and `160px` on all other screens. For left and right `padding`, this is now `12px` instead of `24px`. If your app needs to have tabs which are smaller than the spec, you will need to override `md-tab-item`'s `min-width` and `md-tab`'s `padding` styles.
Try setting the CSS property for it. |
I need tabs to be streched always and on small screans to, but words are turning in to dots or half of a word turns to dots. I thought maybe words are too big, but then i tried to resize the window and then it turns to normal words.
My code:
The text was updated successfully, but these errors were encountered: