Skip to content

Toolbar height should adjust based on @media #2085

Closed

Description

@code-tree

Bug, feature request, or proposal:

Bug

What is the expected behavior?

Toolbar height follows spec

Mobile Landscape: 48dp
Mobile Portrait: 56dp
Tablet/Desktop: 64dp

What is the current behavior?

Toolbar height is static at 64px.

What are the steps to reproduce?

n/a

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

Follow spec

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

Material 2.0.0-alpha.10

Is there anything else we should know?

This should probably be implemented using CSS @media?

Activity

  1. devversion commented on Dec 6, 2016

    @devversion
    Member

    @jelbourn Should we implement that? From what I remember we decided to let the user take care of it?

  2. code-tree commented on Dec 6, 2016

    @code-tree
    ContributorAuthor

    I'm fine with that, as I've already made my own implementation

  3. jelbourn commented on Dec 6, 2016

    @jelbourn
    Contributor

    @devversion I'd be okay with making it responsive per the spec.

  4. devversion commented on Dec 6, 2016

    @devversion
    Member

    @jelbourn I'd rather make it optional like having an attribute like md-responsive, because I think it would confuse users.

  5. jelbourn commented on Dec 6, 2016

    @jelbourn
    Contributor

    Being responsive by default seems good to me, though, since users can always explicitly set the height to override the default behavior.

  6. devversion commented on Dec 6, 2016

    @devversion
    Member

    Ah yeah makes sense. I'm going to create a PR to change it.

  7. self-assigned this
    on Dec 6, 2016
  8. added a commit that references this issue on Dec 10, 2016
    340f5fa
  9. added a commit that references this issue on Dec 14, 2016
    78d54fc
  10. angular-automatic-lock-bot commented on Sep 5, 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.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions