contact messages: center trigger icon and label (inline-flex)
This commit is contained in:
1 parent
a68c07da53
commit
f81e5f593b
2 files changed
+3
-1
No files matched your search
@@ -909,6 +909,9 @@ article {
|
||||
the color stays bright). */
|
||||
.contact-trigger {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.35em;
|
||||
margin: 0.3em 0.1em;
|
||||
padding: 0.35em 1.1em;
|
||||
/* Same font and weight as the navbar, size/leading as the article text. */
|
||||
|
||||
@@ -994,7 +994,6 @@ def _contact_tag(args: str, _env: dict) -> str:
|
||||
return str(
|
||||
E.button(
|
||||
E.span("✉️", class_="icon"),
|
||||
" ",
|
||||
args.strip() or "Contact us",
|
||||
type="button",
|
||||
class_="contact-trigger",
|
||||
|
||||
Reference in new issue
Block a user