MudBlazor/MudBlazor
在 GitHub 查看MudCard: CardHeaderActions results in inconsistent header height
Open
#12,719 创建于 2026年2月24日
buggood first issue
描述
Before reporting
- I searched existing issues
- I tried in private/incognito browser
What went wrong?
Design issue
When having multiple MudCards side by side and some have an MudIconButton, they interfere the CardHeaderContent. As seen in the reproduction link and in the following image, the headers are at different positions. Also the heights of the cards are different. Blue line is for demonstration.
I would expect, the default behavior with default components and similar cards is having similar headers (h1, h2, no tag) on same y positions.
Reproduction link
https://try.mudblazor.com/snippet/QuwUumGIEvIWOKAS
Reproduction steps
- Create a grid with MudCards
- Add headers, some of them with Actions
- See the result
Version (bug)
9.0.0
Version (working)
(unsure)
Environment
Chrome, Firefox
Blazor rendering mode
Server, WASM
Edit: I don't expect different header styles to have the same base line. So the image might be a bit misleading. Only the two on the left and the two on the right should have the same line.