diff --git a/frontend/src/assets/pagerite.css b/frontend/src/assets/pagerite.css index 3b295f2..3f46c58 100644 --- a/frontend/src/assets/pagerite.css +++ b/frontend/src/assets/pagerite.css @@ -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. */ diff --git a/pagerite/views.py b/pagerite/views.py index f286941..f3dd843 100644 --- a/pagerite/views.py +++ b/pagerite/views.py @@ -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",