Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

compose: Fix flashing effect on trying to send message that's too long.

N-Shar-ma609936418339
diff --git a/web/styles/compose.css b/web/styles/compose.css
index c5d96f3c70d..17028de684c 100644
--- a/web/styles/compose.css
+++ b/web/styles/compose.css
@@ -292,10 +292,10 @@
&:has(.new_message_textarea.over_limit),
&:has(.new_message_textarea.over_limit:focus) {
box-shadow: 0 0 0 1pt hsl(0deg 76% 65%);
+ }
- &.flash {
- animation: message-limit-flash 0.5s ease-in-out infinite;
- }
+ &:has(.new_message_textarea.over_limit.flash) {
+ animation: message-limit-flash 0.5s ease-in-out 3;
}
&:has(.new_message_textarea.invalid),