mirror of
https://github.com/zulip/zulip.git
synced 2025-10-25 09:03:57 +00:00
left_sidebar: Make highlighted new-channel area clickable.
This commit is contained in:
@@ -52,12 +52,21 @@
|
||||
.add-stream-icon-container {
|
||||
grid-area: add-channel;
|
||||
display: grid;
|
||||
place-items: center center;
|
||||
margin: 2px 0;
|
||||
border-radius: 3px;
|
||||
|
||||
.add_stream_icon {
|
||||
/* We display as flex to center the icon while
|
||||
keeping the entire highlighted area clickable. */
|
||||
display: flex;
|
||||
place-items: center center;
|
||||
color: var(--color-left-sidebar-heads-up-icon);
|
||||
|
||||
&::before {
|
||||
/* To horizontally center the icon within the
|
||||
flex, though, we need this margin adjustment. */
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
|
||||
Reference in New Issue
Block a user