mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
fix(docs-infra): fix width of sidenav icons (#42561)
make sure that the width of the sidenav chervon icon is 2.4rem (this needs to be done using the flex property and not the width one as that can change in flex containers) also center chevron icon inside mat-icon container in order to maintain the correct icon positioning at any font-size PR Close #42561
This commit is contained in:
parent
91e307b59d
commit
40612d1932
1 changed files with 3 additions and 2 deletions
|
|
@ -80,8 +80,9 @@ aio-nav-menu {
|
|||
|
||||
//icons _within_ nav
|
||||
.mat-icon {
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
flex: 0 0 2.4rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue