Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

landing_nav css: Use classname instead of span for realm name.

evykassirer5ed19d197154
diff --git a/templates/zerver/landing_nav.html b/templates/zerver/landing_nav.html
index 60f7ed2e9d2..7bc3093ac7f 100644
--- a/templates/zerver/landing_nav.html
+++ b/templates/zerver/landing_nav.html
@@ -141,7 +141,7 @@
<input type="radio" name="top-menu-tabs" class="top-menu-tab-input" id="top-menu-tab-user" />
<label class="top-menu-tab-user-label nav-menu-label" for="top-menu-tab-user" tabindex="0">
<img class="top-menu-tab-user-img" src="{{ realm_icon }}" />
- <span>{{ realm_name }}</span>
+ <span class="top-menu-tab-user-name">{{ realm_name }}</span>
</label>
<div class="top-menu-submenu singup-column">
<div class="top-menu-submenu-column">
diff --git a/web/styles/portico/navbar.css b/web/styles/portico/navbar.css
index 1b8d95f5828..2373fb6e379 100644
--- a/web/styles/portico/navbar.css
+++ b/web/styles/portico/navbar.css
@@ -285,7 +285,7 @@ details summary::-webkit-details-marker {
max-width: 40px;
}
- .top-menu-tab .top-menu-tab-user-label span {
+ .top-menu-tab .top-menu-tab-user-label .top-menu-tab-user-name {
display: none;
}
}