mirror of
https://github.com/discourse/discourse.git
synced 2025-04-19 21:09:11 +08:00
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:
parent
64683389a2
commit
3aa383a4de
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user