css: Remove important rule from over_limit class.

The main reason for doing this is to allow flashing
`box_shadow` animation when the user tried to send
over character limit message.
This commit is contained in:
Riken Shah
2021-07-10 16:54:00 +00:00
committed by Tim Abbott
parent 4cce23b564
commit 43e7c2c7fa

View File

@@ -353,8 +353,9 @@ textarea.new_message_textarea {
resize: vertical !important; resize: vertical !important;
margin-top: 5px; margin-top: 5px;
&.over_limit { &.over_limit,
box-shadow: 0 0 0 1pt hsl(0, 100%, 50%) !important; &.over_limit:focus {
box-shadow: 0 0 0 1pt hsl(0, 100%, 50%);
} }
} }