mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
message_controls: Scale on :active without disturbing clickable space.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user