mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Added support for align-items: stretch in grid
Now you can do:
```
<div class="row row-stretch">
<div class="col">Very<br />Much<br />Text<br /></div>
<div class="col">Short</div>
<div class="col">Shrt</div>
</div>
```
All columns will have equal heights. Especially useful when 'simulating' tables with the grid system.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
/**
|
||||
* Grid
|
||||
* --------------------------------------------------
|
||||
@@ -39,6 +38,9 @@
|
||||
.row-center {
|
||||
@include align-items(center);
|
||||
}
|
||||
.row-stretch {
|
||||
@include align-items(stretch);
|
||||
}
|
||||
|
||||
/* .col-* vertically aligns an individual .col */
|
||||
.col-top {
|
||||
|
||||
Reference in New Issue
Block a user