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-button: adding ng-href/ui-sref to md-button icon makes the icon placement higher #2440

Closed
@junereycasuga

Description

@junereycasuga

I'm trying to use md-button with icons to navigate through pages. I tried using both ng-href and ui-sref to give link to it, but by doing that, it makes the position of the icon higher than expected

Example code:

<md-button class="md-icon-button" ui-sref="profile">
    <ng-md-icon icon="profile"></ng-md-icon>
</md-button>

Best regards

Metadata

Metadata

Assignees

Labels

P1: urgentUrgent issues that should be addressed in the next minor or patch release.has: Pull RequestA PR has been created to address this issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions