mirror of
https://github.com/discourse/discourse.git
synced 2025-06-21 00:45:26 +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:
@ -1,12 +1,11 @@
|
|||||||
.inline-footnotes {
|
.inline-footnotes {
|
||||||
a.expand-footnote {
|
a.expand-footnote {
|
||||||
user-select: none;
|
user-select: none;
|
||||||
padding: 0 0.5em;
|
padding: 0 0.4em;
|
||||||
margin: 0 0 0 0.25em;
|
|
||||||
color: var(--primary-low-mid-or-secondary-high);
|
color: var(--primary-low-mid-or-secondary-high);
|
||||||
background: var(--primary-low);
|
background: var(--primary-low);
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
min-height: 20px;
|
min-height: 1.25em;
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user