-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Open
Labels
P2The issue is important to a large percentage of users, with a workaroundThe issue is important to a large percentage of users, with a workaroundarea: material/buttonarea: material/icondocsThis issue is related to documentationThis issue is related to documentationneeds: discussionFurther discussion with the team is needed before proceedingFurther discussion with the team is needed before proceeding
Description
Documentation Feedback
There is only an example to change some colours of a button (https://material.angular.io/components/button/styling) but no example of changing the size.
Especially for icon buttons, different sizes are often needed. Right now we are using something like that:
.mdc-icon-button.small {
line-height: 18px;
.mat-icon {
width: 18px;
height: 18px;
font-size: 18px;
}
}
which is probably not the preferred way. I also tried it with:
.small {
@include mat.icon-button-overrides((
icon-size: 18px
));
}
which doesn't work as expected.
Affected documentation page
MrLightWood, manulus1, JoolsHattey, kamilcglr, valera33 and 2 more
Metadata
Metadata
Assignees
Labels
P2The issue is important to a large percentage of users, with a workaroundThe issue is important to a large percentage of users, with a workaroundarea: material/buttonarea: material/icondocsThis issue is related to documentationThis issue is related to documentationneeds: discussionFurther discussion with the team is needed before proceedingFurther discussion with the team is needed before proceeding