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.

help_menu: Center keyboard shortcut text in kbd element.

Pratik Chandaac4c3335e857
diff --git a/web/styles/app_components.css b/web/styles/app_components.css
index 140f19f6551..4e003783eeb 100644
--- a/web/styles/app_components.css
+++ b/web/styles/app_components.css
@@ -28,6 +28,7 @@ kbd {
border: 1px solid var(--color-kbd-border);
border-radius: 4px;
font-weight: 600;
+ text-align: center;
white-space: nowrap;
background-color: var(--color-kbd-background);
color: var(--color-kbd-text);
diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.css
index b0703e67ee9..054c62d5e7b 100644
--- a/web/styles/dark_theme.css
+++ b/web/styles/dark_theme.css
@@ -15,7 +15,6 @@
border: 1px solid var(--color-hotkey-hint);
border-radius: 3px;
color: var(--color-hotkey-hint);
- text-align: center;
opacity: 0.8;
}
}