Skip to content

Commit

Permalink
tooltip: Update max-width of disabled send button tooltip.
Browse files Browse the repository at this point in the history
Changes the tooltip max-width on the disabled send button
from 300px to 350px to remove the weird looking padding at
the end.
  • Loading branch information
brijsiyag authored and timabbott committed May 16, 2023
1 parent 4094eca commit 7ff97d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/src/tippyjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,7 @@ export function initialize() {

delegate("body", {
target: [".disabled-compose-send-button-container"],
maxWidth: 350,
content: () => compose_recipient.get_posting_policy_error_message(),
appendTo: () => document.body,
onHidden(instance) {
Expand Down

0 comments on commit 7ff97d1

Please sign in to comment.