Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
css: Use classname for stream subheader name.
evykassirer1b8658670c09
diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.cssindex 6b864e94d86..fae1baf4db0 100644--- a/web/styles/dark_theme.css+++ b/web/styles/dark_theme.css@@ -895,8 +895,8 @@.streams_subheader {color: hsl(240deg 11% 85%);- & span::before,- span::after {+ & .streams_subheader_name::before,+ .streams_subheader_name::after {border-color: hsl(240deg 11% 85%);}}diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.cssindex 0c9f77aa7d9..1407a1e183a 100644--- a/web/styles/left_sidebar.css+++ b/web/styles/left_sidebar.css@@ -1342,7 +1342,7 @@ li.topic-list-item {margin-right: var(--left-sidebar-right-margin);color: hsl(240deg 10% 50%);- & span {+ & .streams_subheader_name {display: flex;flex-direction: row;width: 100%;@@ -1351,8 +1351,8 @@ li.topic-list-item {opacity: 0.5;}- & span::before,- span::after {+ & .streams_subheader_name::before,+ .streams_subheader_name::after {content: " ";flex: 1 1;vertical-align: middle;@@ -1361,11 +1361,11 @@ li.topic-list-item {opacity: 0.2;}- & span::before {+ & .streams_subheader_name::before {margin-right: 0.5em;}- & span::after {+ & .streams_subheader_name::after {margin-left: 0.5em;}}diff --git a/web/templates/streams_subheader.hbs b/web/templates/streams_subheader.hbsindex f7df64f0882..de13b0167eb 100644--- a/web/templates/streams_subheader.hbs+++ b/web/templates/streams_subheader.hbs@@ -1,3 +1,3 @@<div class="streams_subheader">- <span>{{ subheader_name }}</span>+ <span class="streams_subheader_name">{{ subheader_name }}</span></div>