Skip to content

A platform for community discussion. Free, open, simple.

DEV: replace zero width space character in chat typing indicator (#31675)

Kris1b95a8e1e018
diff --git a/plugins/chat/assets/stylesheets/common/chat-replying-indicator.scss b/plugins/chat/assets/stylesheets/common/chat-replying-indicator.scss
index 215d06af440..e9ea2db8c40 100644
--- a/plugins/chat/assets/stylesheets/common/chat-replying-indicator.scss
+++ b/plugins/chat/assets/stylesheets/common/chat-replying-indicator.scss
@@ -5,13 +5,8 @@
&-container {
display: flex;
- height: 16px;
- }
-
- &::before {
- // unicode zero width space character
- // Ensures the span height is consistent even when empty
- content: "\200b";
+ height: 1em; // Ensures the height is consistent even when empty
+ line-height: normal;
}
.chat-replying-indicator__text {