Giter VIP home page Giter VIP logo

Comments (4)

yuriyovych avatar yuriyovych commented on June 27, 2024 7

So we do not have a correct approach to align items in grid tiles?

from material2-app.

edemirkan avatar edemirkan commented on June 27, 2024

I am using the following ugly work around;
Add a class name to the md-grid-tile

<md-grid-tile class="grid-test-1">
</md-grid-tile>

and refer it in the global style.css file for left align ("flex-end" will provide right align)

.grid-test-1 > figure.mat-figure {
  justify-content: flex-start !important;
}

from material2-app.

brunonmelo avatar brunonmelo commented on June 27, 2024

This could definitively do the trick, but, in my opinion, is far from the ideal.

I find out to be more practical to use bootstraps classes and not using the grid functionality, yet, at least for now

I going to wait until it's be a little more mature, but I will leave this as a suggestion of implementation. If we could positioning the itens inside the grid tile using some directive it would give a good power of customization to the developer.

from material2-app.

edemirkan avatar edemirkan commented on June 27, 2024

Totally agree with your comments, but I think you need to open an issue on angular/material2 as this repo is just for the sample app.

from material2-app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.