From c15c2157f7ffbb1bda26eafb79ffa5590b6331a4 Mon Sep 17 00:00:00 2001 From: sayamsamal Date: Thu, 15 Sep 2022 02:19:44 +0530 Subject: [PATCH] tooltips: Set font-feature-settings to "ss01" for stylistic variant of "I". This commit enables the stylistic set "ss01" in Source Sans 3 font family which contains stylistic variant of the upper-case character "I", which contains two bars, one each on the top and bottom of the letter. This provides a uniform look across all the characters when used in the hotkey hints of the tooltips. --- static/styles/tooltips.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/static/styles/tooltips.css b/static/styles/tooltips.css index 829dafa51c..f1d468b8ef 100644 --- a/static/styles/tooltips.css +++ b/static/styles/tooltips.css @@ -5,6 +5,8 @@ */ font-family: "Source Sans 3", sans-serif !important; word-wrap: break-word; + /* Contains stylistic variant of upper-case character "I" in Source Sans 3 */ + font-feature-settings: "ss01" on; /* Affects all tippy tooltips not using any theme. */ .tippy-box:not([data-theme]) {