The size of a mat-icon-button can be modified by using CSS. The following example demonstrates how to increase the size of a mat-icon-button to 48px:
.mat-icon-button {
width: 48px;
height: 48px;
}
Alternatively, you can use the "size" attribute provided by mat-icon-button. The following example demonstrates how to increase the size of a mat-icon-button to 48px:
<mat-icon-button size="large">
<mat-icon>add</mat-icon>
</mat-icon-button>
You can use any of the available size options: "large", "medium", and "small".
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-06-18 14:15:46 +0000
Seen: 11 times
Last updated: Jun 18 '23
How can a DateTime Zone be changed to another DateTime Zone?
How can we direct to a randomly selected entry from a list using Nginx?
How can I load a text file in gensim?
How to stop the for-loop when a specific condition is fulfilled?
How can CSS variables in Angular Material 15 be replaced?
How can you obtain several parameters using a single GET request?
How can double quotes be added to strings within an array?
"How can a Boolean variable be saved in SQFLite?"