fix(buttons): force identical height on mixed <a>/<button> pairs
Set explicit height:2rem, line-height:1, font-family:inherit on all children of button group containers. Browsers apply different default line-height and font-family to <button> vs <a>, causing height differences that persist even with identical padding and display:inline-flex. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -145,6 +145,14 @@
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
/* Equalise <a> and <button> rendering */
|
||||
.actions > * {
|
||||
height: 2rem;
|
||||
line-height: 1;
|
||||
font-family: inherit;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.btnSecondary,
|
||||
.btnPrimary {
|
||||
flex: 1;
|
||||
|
||||
Reference in New Issue
Block a user