Skip to content

md-card-title overlaps when text is too long #3288

Closed

Description

@emreavsar

Bug, feature request, or proposal:

Bug

What is the expected behavior?

Expected behaviour would be that the elements below the title will expand and no overlap happens

What is the current behavior?

the title overlaps the elements below

What are the steps to reproduce?

See the plunkr below of the official example for md-card from https://material.angular.io/components/component/card where I just added a bit longer text for the md-card-title.

https://embed.plnkr.co/ub7P6byKCe30PNMiu2r1/

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

when using the md-card in a dynamic way (lets say a http call and showing the response in md-cards), one should be not dependent on the length of the title. (no manual margins desired)

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

see plunkr

Is there anything else we should know?

this applies also when using a bigger font-size and also on other elements.

Activity

  1. added
    P2
    on Feb 24, 2017
  2. self-assigned this
    on Feb 27, 2017
  3. cm0s commented on Feb 28, 2017

    @cm0s

    It's also the case for md-card-subtitle

  4. added a commit that references this issue on Mar 5, 2017
    9715d6e
  5. added a commit that references this issue on Mar 8, 2017
    11cc157
  6. added a commit that references this issue on Mar 10, 2017
    17bf5e5
  7. added a commit that references this issue on Apr 16, 2017
    ac476e4
  8. keshavlingala commented on May 30, 2019

    @keshavlingala

    simple fix use bootstrap class h-100

  9. angular-automatic-lock-bot commented on Sep 10, 2019

    @angular-automatic-lock-bot

    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.

  10. locked and limited conversation to collaborators on Sep 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions