Vue-material: Layout vertical alignment

Created on 15 Apr 2017  路  4Comments  路  Source: vuematerial/vue-material

md-align layout property not have a middle, bottom or top alignment.
How can I center a element in "center middle" position?
I tried to do something like this

<md-layout class="view" md-align="center" md-column md-gutter>
    <md-layout md-flex="50"></md-layout>
    <md-layout md-align="center" md-row md-gutter>
        <md-spinner md-indeterminate></md-spinner>
    </md-layout>
    <md-layout md-flex="50"></md-layout>
</md-layout>

but that's not elegant.

question

Most helpful comment

@d3radicated Appreciate it -- is there a timeline for getting this into an actual release, or is the best thing to just use develop right now?

All 4 comments

This feature has already been implemented in the develop branch via PR #562.

@d3radicated Appreciate it -- is there a timeline for getting this into an actual release, or is the best thing to just use develop right now?

@ryanpager i think yes, but you need to recompile develop

@Samuell1 Thanks, I just ripped out what I needed and put it into a css attribute system instead -- will hold me over til this gets into a release. Cheers.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sergey-koretsky picture sergey-koretsky  路  3Comments

markus-s24 picture markus-s24  路  3Comments

korylprince picture korylprince  路  3Comments

Leshgan picture Leshgan  路  3Comments

bryanspearman picture bryanspearman  路  3Comments