components icon indicating copy to clipboard operation
components copied to clipboard

Md-icon inside md-expansion-panel header not aligned correctly

Open alexandrupaul7 opened this issue 9 years ago • 4 comments

Bug, feature request, or proposal:

Bug

What is the expected behavior?

md-icon should stick with the md-panel-tile text

What is the current behavior?

md-icon not aligned correctly

What are the steps to reproduce?

Plunker: http://plnkr.co/edit/6VVJbXSkYGiWJ1OaEp5u?p=preview

        <md-expansion-panel>
            <md-expansion-panel-header>
                <md-panel-title>
                  <md-icon>search</md-icon> Search
                </md-panel-title>                    
            </md-expansion-panel-header>
            <div>
                <div>Something here</div>
            </div>
        </md-expansion-panel>

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

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

angular 4 material beta 8

Is there anything else we should know?

alexandrupaul7 avatar Aug 01 '17 08:08 alexandrupaul7

I believe https://github.com/angular/material2/pull/5950 will fix this

willshowell avatar Aug 01 '17 13:08 willshowell

It didn't entirely. Your example still requires

.mat-content {
  align-items: center;
}

willshowell avatar Aug 05 '17 00:08 willshowell

Resolved via: #5950

josephperrott avatar Sep 26 '17 15:09 josephperrott

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.