UX: Tweak footnote button styling (#31595)

1. remove the margin (it's displayed inline with text, so having a left
margin didn't make sense)
2. use em unit in min-height
3. slighty tighten the button (inline padding 0.5em -> 0.4em) so it's
more proportional
This commit is contained in:
Jarek Radosz 2025-03-04 01:24:27 +01:00 committed by GitHub
parent 64683389a2
commit 3aa383a4de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,12 +1,11 @@
.inline-footnotes {
a.expand-footnote {
user-select: none;
padding: 0 0.5em;
margin: 0 0 0 0.25em;
padding: 0 0.4em;
color: var(--primary-low-mid-or-secondary-high);
background: var(--primary-low);
border-radius: 3px;
min-height: 20px;
min-height: 1.25em;
display: inline-flex;
align-items: center;