MudBlazor/MudBlazor
MudIconButton: Padding changes 1px when changing from Outlined to Filled
クローズ
#10,366 opened on 2024/12/01
buggood first issue
Repository metrics
- Stars
- (10,394 個のスター)
- PR merge metrics
- (平均マージ 6d 6h) (30d で 108 merged PRs)
説明
Things to check
- I have searched the existing issues for this bug
- To rule out a caching problem I made sure the bug also happens in an incognito tab
Bug type
Component
Component name
MudIconButton
What happened?
When MudIconButton changes from Outlined variant to Filled variant, padding is changed from 4 to 5 creating a visual glitch.
CSS being changed/applied:
.mud-button-outlined-size-small.mud-icon-button { padding: 4px; }
.mud-button-filled-size-small.mud-icon-button { padding: 5px; }
Expected behavior
Keep the padding consistent.
Reproduction link
https://try.mudblazor.com/snippet/cuGoPQOlevPYhVzd
Reproduction steps
See try mudblazor example.
Relevant log output
No response
Version (bug)
7.15.0
Version (working)
No response
What browsers are you seeing the problem on?
Edge
On which operating systems are you experiencing the issue?
Windows
Pull Request
- I would like to do a Pull Request
Code of Conduct
- I agree to follow this project's Code of Conduct