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

md-card: Add a card footer #1474

Closed
epelc opened this issue Feb 11, 2015 · 0 comments
Closed

md-card: Add a card footer #1474

epelc opened this issue Feb 11, 2015 · 0 comments
Assignees
Milestone

Comments

@epelc
Copy link
Contributor

epelc commented Feb 11, 2015

Currently you can put your content outside of md-card-content and it will not have padding. But it always put(I assume with a simple ng-transclude) above the content within md-card-content even if you add html below it.

Example

<md-card>
  <h1>My header</h1>
  <md-card-content>
    <p>Lorem ipsum ....</p>
  </md-card-content>
  <span>This should be below the content but it ends up just below the h1</span>
</md-card>

The current hack to have a footer is to set padding-left and padding-right to 0 for md-card-content and then to put your footer within it and add a div with the original padding for your real content. Perhaps an md-card-footer directive could be added. Or elements below the md-card-content could "just work" like how the header works now.

@ThomasBurleson ThomasBurleson modified the milestone: 0.9.0 Feb 17, 2015
@marcysutton marcysutton self-assigned this Apr 2, 2015
marcysutton pushed a commit that referenced this issue Apr 4, 2015
@ajoslin ajoslin added the in progress Mainly for in progress PRs, but may be used for issues that require multiple PRs label Apr 4, 2015
marcysutton pushed a commit that referenced this issue Apr 4, 2015
@ajoslin ajoslin removed the in progress Mainly for in progress PRs, but may be used for issues that require multiple PRs label Apr 4, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants