left_sidebar: Make highlighted new-channel area clickable.

This commit is contained in:
Karl Stolley
2025-08-11 13:17:44 -04:00
committed by Tim Abbott
parent 4585d87cec
commit d21a4ad5db

View File

@@ -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 {