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.

md-toolbar min-height uses wrong variable  #8941

Closed
@vbraun

Description

@vbraun

Actual Behavior:

  • What is the issue? *

From angular-material.scss, relevant lines picked:

$toolbar-height: 64px !default;

md-toolbar {
  min-height: $baseline-grid * 8;
}

The intent here is clearly to let others customize the height by overriding $toolbar-height, but its not working because the toolbar hardcodes it. The .md-toolbar-content class does get smaller, leaving undesirable empty space below the content.

  • What is the expected behavior?

It should be

md-toolbar {
  min-height: $toolbar-height;
}

Angular Versions: *

  • Angular Version:

1.5

  • Angular Material Version:

1.0.9

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions