contact messages: enlarge the trigger button's ✉️ (1.38em span)
This commit is contained in:
1 parent
cc14303179
commit
a68c07da53
2 files changed
+10
-1
No files matched your search
@@ -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
@@ -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",
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user