Skip to content

Commit 6b45296

Browse files
authored
Change format for tooltip header (#1640)
1 parent 34e3502 commit 6b45296

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Diff for: assets/css/content/functions.css

+1-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
.content-inner .detail-header {
1818
margin: 2.0em 0 1.0em;
1919
padding: .5em 1em;
20-
background-color: var(--textDetailBackground);
20+
background-color: var(--codeBackground);
2121
border-left: 3px solid var(--main);
2222
font-size: 1em;
2323
font-family: var(--monoFontFamily);
@@ -32,7 +32,6 @@
3232
display: inline-block;
3333
font-family: var(--monoFontFamily);
3434
font-size: 1rem;
35-
font-weight: 700;
3635
}
3736

3837
.content-inner .detail-header:hover a.detail-link {

Diff for: assets/js/handlebars/templates/tooltip-body.handlebars

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
</section>
55
{{else}}
66
<div class="detail-header">
7-
<h1 class="signature">
7+
<div class="signature">
88
<span translate="no">{{this.hint.title}}</span>
99
<div class="version-info" translate="no">{{this.hint.version}}</div>
10-
</h1>
10+
</div>
1111
</div>
1212
{{#if this.hint.description}}
1313
<section class="docstring">

0 commit comments

Comments
 (0)