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.

hotkey-hint: Fix text not middle aligned at different zoom levels.

Aman Agrawal634a771a37ad
diff --git a/web/styles/tooltips.css b/web/styles/tooltips.css
index fd2b92d972d..c1f753ff221 100644
--- a/web/styles/tooltips.css
+++ b/web/styles/tooltips.css
@@ -77,15 +77,12 @@
gap: 4px;
}
- .tooltip-hotkey-hint {
- box-sizing: inherit;
+ & span.tooltip-hotkey-hint {
border: 1px solid hsl(225deg 100% 84%);
border-radius: 3px;
color: hsl(225deg 100% 84%);
- padding: 2px 5px;
- min-width: 20px;
+ padding: 0 5px;
text-align: center;
- line-height: 14px;
}
/* If the reference of the tooltip is went offscreen while scrolling,