Why it was removed:  https://github.com/twitter/bootstrap/issues/2233
Why it will be back the next release:
https://github.com/twitter/bootstrap/issues/2573

On Wed, Apr 4, 2012 at 02:40, James Heanly <[email protected]> wrote:

> Hi,
>
> I am in the process of upgrading a site to the latest version of
> Bootstrap and noticed a slight difference in the css treatment of
> images. In the previous version of the bootstrap.css file there was
> the following styles applied to the img element...
>
> img {
>  max-width: 100%;
>  height: auto;
>  border: 0;
>  -ms-interpolation-mode: bicubic;
> }
>
> However, the most current version of the bootstrap.css (downloaded on
> Monday 2nd April 2012) has the following...
>
> img {
>  height: auto;
>  border: 0;
>  -ms-interpolation-mode: bicubic;
>  vertical-align: middle;
> }
>
> So, the max-width=100% has been removed which means the images on my
> site are not automatically resizing to the container size. I was just
> wondering if this was a conscious design decision and if so why, or
> whether it is an oversight.
>
> Has anyone else noticed this? I know I can fix the problem by adding
> to my own stylesheet but was just curious about the change.
>
> Regards
>
> James

Reply via email to