mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(docs-infra): fix menu icon size (#52689)
Fixes that the hamburger icon was too small, because the top nav is using the wrong kind of button. Switching it to the right one would require more refactoring so I went with the simpler approach for now. PR Close #52689
This commit is contained in:
committed by
Andrew Scott
parent
1d31a0c129
commit
a46c8cbf4e
@@ -66,8 +66,13 @@ mat-toolbar.app-toolbar {
|
||||
transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
|
||||
}
|
||||
|
||||
// TODO: this override is necessary, because the menu is using
|
||||
// the wrong kind of button (text button instead of icon button).
|
||||
& .mat-icon {
|
||||
position: inherit;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user