From ce8a2287b4f642fb16b3ea83fd3482e92863e1d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Fri, 30 Dec 2022 00:00:53 +0100 Subject: [PATCH] Revert "Change format for tooltip header (#1640)" This reverts commit 6b4529611e10167c1022d85b0771b693a2889aa6. --- assets/css/content/functions.css | 3 ++- assets/js/handlebars/templates/tooltip-body.handlebars | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/assets/css/content/functions.css b/assets/css/content/functions.css index 1d3f98e40..8c85572fe 100644 --- a/assets/css/content/functions.css +++ b/assets/css/content/functions.css @@ -17,7 +17,7 @@ .content-inner .detail-header { margin: 2.0em 0 1.0em; padding: .5em 1em; - background-color: var(--codeBackground); + background-color: var(--textDetailBackground); border-left: 3px solid var(--main); font-size: 1em; font-family: var(--monoFontFamily); @@ -32,6 +32,7 @@ display: inline-block; font-family: var(--monoFontFamily); font-size: 1rem; + font-weight: 700; } .content-inner .detail-header:hover a.detail-link { diff --git a/assets/js/handlebars/templates/tooltip-body.handlebars b/assets/js/handlebars/templates/tooltip-body.handlebars index 22a3a728d..9ee40d1ca 100644 --- a/assets/js/handlebars/templates/tooltip-body.handlebars +++ b/assets/js/handlebars/templates/tooltip-body.handlebars @@ -4,10 +4,10 @@ {{else}}
-
+

{{this.hint.title}}
{{this.hint.version}}
-

+
{{#if this.hint.description}}