mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
inbox: Position search clear button with em.
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
}
|
||||
|
||||
#inbox-clear-search {
|
||||
border: 1px solid transparent;
|
||||
border: none;
|
||||
background: transparent;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
@@ -66,13 +66,12 @@
|
||||
opacity: 0.4;
|
||||
transition: none 140ms;
|
||||
transition-property: background-color, opacity, transform;
|
||||
padding: 5px;
|
||||
/* 5px at 16px font-size at 14px em */
|
||||
padding: 0.3125em;
|
||||
margin: 0;
|
||||
/* = -Width of the button, 28px at 14px em */
|
||||
margin-right: -2em;
|
||||
position: relative;
|
||||
top: 0;
|
||||
right: 30px;
|
||||
/* Width of the button, 27px at 16px font-size at 14px em */
|
||||
right: 1.6875em;
|
||||
|
||||
&:focus {
|
||||
outline: none;
|
||||
|
||||
Reference in New Issue
Block a user