Merge branch 'grids-tests-image'

This commit is contained in:
Tilo Mitra 2013-08-23 12:35:16 -04:00
commit 6794a82db8
2 changed files with 15 additions and 0 deletions

View File

@ -20,6 +20,8 @@ NEXT
have a separate `*width` value for oldIEs. This value is `0.005%` less than have a separate `*width` value for oldIEs. This value is `0.005%` less than
the standard `width` value. This fix does not affect modern browsers. ([#154][]) the standard `width` value. This fix does not affect modern browsers. ([#154][])
* Added a `height: auto` rule to images within a `.pure-g-r` so that their aspect
ratios are maintained when the page is resized. ([#172][]: @dchest)
[#143]: https://github.com/yui/pure/issues/143 [#143]: https://github.com/yui/pure/issues/143
[#154]: https://github.com/yui/pure/issues/154 [#154]: https://github.com/yui/pure/issues/154
@ -80,6 +82,7 @@ NEXT
[#109]: https://github.com/yui/pure/issues/109 [#109]: https://github.com/yui/pure/issues/109
[#115]: https://github.com/yui/pure/issues/115 [#115]: https://github.com/yui/pure/issues/115
[#127]: https://github.com/yui/pure/issues/127 [#127]: https://github.com/yui/pure/issues/127
[#172]: https://github.com/yui/pure/pull/172
0.2.0 (2013-06-11) 0.2.0 (2013-06-11)

View File

@ -480,6 +480,18 @@
</div> </div>
</div> </div>
<div class="pure-g-r">
<div class="pure-u-1-3">
<img src="http://lorempixel.com/800/300/">
</div>
<div class="pure-u-1-3">
<img src="http://lorempixel.com/800/300/">
</div>
<div class="pure-u-1-3">
<img src="http://lorempixel.com/800/300/">
</div>
</div>
<h1>Nested Grid</h1> <h1>Nested Grid</h1>
<div class="pure-g-r"> <div class="pure-g-r">
<div class="pure-u-1-2"> <div class="pure-u-1-2">