material icon indicating copy to clipboard operation
material copied to clipboard

tabs: centered tab uses "initial" width, not supported by IE

Open clshortfuse opened this issue 10 years ago • 10 comments

Actual Behavior:

  • What is the issue? * Certain parts of our code use the CSS rule initial without fallbacks
  • What is the expected behavior? No fallback can create unexpected results on IE

Angular Versions: *

  • Angular Material Version: 1.1.0-rc5

Additional Information:

  • Browser Type: * IE
  • Browser Version: * IE 10, IE 11
  • OS: * Windows
  • Stack Traces:

tabs width: https://github.com/angular/material/blob/9a2c47dea0cbb4347d2b6aeec8dd8ff3ae684cd1/src/components/tabs/tabs.scss#L168

This may be old CSS since, width is computed on the JS side and overrides anything that is written in the CSS rule. Regardless, we shouldn't use unsupported CSS. width:auto seems reasonable.

clshortfuse avatar Aug 03 '16 21:08 clshortfuse

+1

ivorobkalo avatar Aug 09 '16 09:08 ivorobkalo

+1

VasiliyZhushma avatar Aug 09 '16 09:08 VasiliyZhushma

+1

soutlan avatar Aug 09 '16 09:08 soutlan

+1

valenburm avatar Aug 09 '16 09:08 valenburm

+1

DAbrashin avatar Aug 09 '16 09:08 DAbrashin

+1

dmitriyK1 avatar Aug 09 '16 10:08 dmitriyK1

+1

vovashevchenko avatar Aug 10 '16 06:08 vovashevchenko

To everyone replying +1, are you having issues with IE and centered tabs? I was under the impression the initial value was ignored and overwritten.

clshortfuse avatar Aug 10 '16 13:08 clshortfuse

closed by 9c7f95e81e750c9e9b91d1e8268fe9011425262d

clshortfuse avatar Aug 11 '16 17:08 clshortfuse

"are you having issues with IE and centered tabs?" - yes. I added +1 not "for fun".

ivorobkalo avatar Aug 12 '16 08:08 ivorobkalo