tippy: Initialize maxWidth in em units.

This commit is contained in:
Karl Stolley
2024-07-03 11:42:14 -05:00
committed by Tim Abbott
parent cbdfdf06b4
commit 46f5854185
2 changed files with 4 additions and 2 deletions

View File

@@ -240,7 +240,8 @@ export function initialize(): void {
// TODO: Might need to target just the Send button itself
// in the new design
target: ".disabled-message-send-controls",
maxWidth: 350,
// 350px at 14px/1em
maxWidth: "25em",
content: () =>
compose_recipient.get_posting_policy_error_message() ||
compose_validate.get_disabled_send_tooltip(),