Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
help_menu: Use new style to show hotkey.
Aman Agrawalc5564668c53c
diff --git a/web/styles/popovers.css b/web/styles/popovers.cssindex e29fd9bbd02..e20d8b9fc9a 100644--- a/web/styles/popovers.css+++ b/web/styles/popovers.css@@ -1339,3 +1339,16 @@ ul.navbar-dropdown-menu-outer-list {display: block;}}++.navbar-dropdown-hotkey-hint {+ color: var(--color-hotkey-hint);+ text-align: center;+ font-size: 14px;+ font-style: normal;+ font-weight: 500;+ line-height: 14px;+ padding: 1px 4px 2px;+ border-radius: 3px;+ border: 1px solid var(--color-hotkey-hint);+ margin-left: auto;+}diff --git a/web/templates/navbar_help_menu.hbs b/web/templates/navbar_help_menu.hbsindex 0644c70dd04..9e10f5d165f 100644--- a/web/templates/navbar_help_menu.hbs+++ b/web/templates/navbar_help_menu.hbs@@ -9,7 +9,7 @@</li><li class="link-item navbar-dropdown-menu-inner-list-item"><a tabindex="0" class="navigate-link-on-enter navbar-dropdown-menu-link" data-overlay-trigger="keyboard-shortcuts">- <i class="navbar-dropdown-icon zulip-icon zulip-icon-keyboard" aria-hidden="true"></i> {{t 'Keyboard shortcuts' }} <span class="hotkey-hint">(?)</span>+ <i class="navbar-dropdown-icon zulip-icon zulip-icon-keyboard" aria-hidden="true"></i> {{t 'Keyboard shortcuts' }} <span class="navbar-dropdown-hotkey-hint">?</span></a></li><li class="link-item navbar-dropdown-menu-inner-list-item hidden-for-spectators">