Skip to content

Icon Buttons in Toolbar do not vertically center align. #756

@praveenpuglia

Description

@praveenpuglia

Bug, feature request, or proposal:

Bug

What is the expected behavior?

Button with icons should seem to be vertically center aligned in toolbar. A button with just text works as expected.

What is the current behavior?

Icon buttons don't work as expected. The icons seem to align to the top of the toolbar. This is best explained in the screenshot below.

What are the steps to reproduce?

Here's my code

<md-toolbar class="toolbar">
  <span class="toolbar-title">Awesome</span>
  <button md-button><md-icon style="color:white">home</md-icon></button>
  <button md-button style="color:white">ABOUT</button>
</md-toolbar>

Providing a Plunker (or similar) is the best way to get the team to see your issue.
http://plnkr.co/edit/W5RnGGRszmCBwv2JYYc9?p=preview

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

I am on
Angular 2 RC 2.
Material 2.0.0-alpha.5-2
OS - ubuntu 16.04
Browser : Chrome - 51.0.2704.103, Firefox - 47.

Is there anything else we should know?

image

Metadata

Metadata

Assignees

No one assigned

    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