contact messages: enlarge the trigger button's ✉️ (1.38em span)

This commit is contained in:
LeoVasanko committed 2026-09-28 02:46:44 +00:00
1 parent cc14303179
commit a68c07da53
2 files changed
+10 -1

No files matched your search

+5
View File
@@ -923,6 +923,11 @@ article {
cursor: pointer;
}
.contact-trigger .icon {
/* Match the corner ✉️'s optical size against the button text. */
font-size: 1.38em;
}
.contact-trigger:hover {
color: var(--tab-hover, var(--bg));
text-shadow: 0 0 0.1em;
+5 -1
View File
@@ -993,7 +993,11 @@ def _contact_tag(args: str, _env: dict) -> str:
lazy-loads the panel bundle; in the editor preview it stays inert."""
return str(
E.button(
f"✉️ {args.strip() or 'Contact us'}", type="button", class_="contact-trigger"
E.span("✉️", class_="icon"),
" ",
args.strip() or "Contact us",
type="button",
class_="contact-trigger",
)
)