rendered_markdown: Adjust content blocks for link focus ring.

This commit is contained in:
Karl Stolley
2025-03-31 10:43:11 -04:00
committed by Tim Abbott
parent 203cc69969
commit 465971171d
3 changed files with 27 additions and 0 deletions

View File

@@ -414,6 +414,14 @@
/*
Message box elements and values.
*/
/* At very tight line-heights, the focus ring on
links can get cut off on paragraphs and list
items that open the senderless message area.
This padding fixes the cut-off problem, and
can be used to adjust padding elsewhere in the
message area as needed.
2px at 20px/1em */
--message-box-link-focus-ring-block-padding: 0.1em;
/* 35px at 14px/1em */
--message-box-avatar-width: 2.5em;
--message-box-avatar-height: var(--message-box-avatar-width);