Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Material-card too wide for usage in flex grid system #247

Closed
@Frank3K

Description

@Frank3K

I would expect that three <material-card flex=33>'s could be stacked horizontally in a <material-content layout="horizontal">-container. Unfortunately this makes the page too wide (i.e. wider than the window width).

As far as I can see this is the result of the rule margin: $card-margin; for material-card (in _card.scss), where $card-margin is currently 10px (in _variables.scss). Setting the margin to 0 is no option layout-wise; the card is hardly recognizable then.

Example plunkr: http://plnkr.co/edit/vHckwcMApTIcRev5KF9e

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions