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.

message_controls: Scale on :active without disturbing clickable space.

Karl Stolley79a2e0a1c471
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 34cf14af248..d8623e5c73c 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -929,11 +929,17 @@ td.pointer {
values ensure a 26px x 25px clickable area for the icon. */
padding: 2.5px 3px;
- &:active {
+ &::before {
+ /* We specify block display so the
+ scaling transform below works as
+ expected. */
+ display: block;
+ }
+
+ &:active::before {
transform: scale(0.92);
transform-origin: center;
outline: 0;
- transition: unset;
}
&:focus {