Components: `md-grid-list`, `md-grid-tile` can't find the way how to align items to left/right #1212

Created on 20 Jan 2017  路  4Comments  路  Source: angular/components

Bug, feature request, or proposal:

iits closed without to say how to do it.
I cat align the text within colums to the left

What is the expected behavior?

What is the current behavior?

What are the steps to reproduce?

Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: http://plnkr.co/edit/o077B6uEiiIgkC0S06dd

What is the use-case or motivation for changing an existing behavior?

Which versions of Angular, Material, OS, browsers are affected?

Is there anything else we should know?

Most helpful comment

@yuriyovych
Just came across this one. Solved it by wrapping the mat-grid-tile content with div and setting it to width: 100%; display: flex; align-items: flex-start;

Note that you don't need flex properties if you only have one element (I used it, since I have 6 elements in tile)

All 4 comments

i did it like this,with a div and a class
.text-inside-grid {
position: absolute;
left: 5px;
}
probably not the best way,but i don't know the standard way within md-grid

any news about this issue?

@yuriyovych
Just came across this one. Solved it by wrapping the mat-grid-tile content with div and setting it to width: 100%; display: flex; align-items: flex-start;

Note that you don't need flex properties if you only have one element (I used it, since I have 6 elements in tile)

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dzrust picture dzrust  路  3Comments

crutchcorn picture crutchcorn  路  3Comments

MurhafSousli picture MurhafSousli  路  3Comments

shlomiassaf picture shlomiassaf  路  3Comments

3mp3ri0r picture 3mp3ri0r  路  3Comments