material icon indicating copy to clipboard operation
material copied to clipboard

md-progress-linear have 100% width and margin without box-sizing

Open XavCamp opened this issue 11 years ago • 0 comments

Hi guys,

I have noticed that md-progress-linear elements have 100% width, left & right margin of 8px, but still box-sizing: content-box, so they overflow their container. You can see it on the demo here: https://material.angularjs.org/latest/demo/progressLinear (on version 1.0.0-rc5)

capture d ecran 2015-12-01 a 15 50 19

capture d ecran 2015-12-01 a 15 50 30

I'm not sure of the best strategy here, would it be removing the margin or changing box-sizing property?

XavCamp avatar Dec 01 '15 14:12 XavCamp