Skip to content

Commit 71ec3d2

Browse files
author
Jani Giannoudis
committed
docfx: title fix
1 parent 0468915 commit 71ec3d2

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

docfx/templates/darkerfx/styles/toggle-theme.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
// Inject app name next to logo
22
document.addEventListener("DOMContentLoaded", function () {
3-
var header = document.querySelector(".navbar-header");
4-
if (header) {
3+
var brand = document.querySelector(".navbar-brand");
4+
if (brand) {
5+
brand.style.cssText = "display:inline-flex;align-items:center;gap:10px;";
56
var span = document.createElement("span");
67
span.textContent = "Client Scripting";
7-
span.style.cssText = "display:inline-block;font-size:.95rem;font-weight:700;color:#22d3a0;letter-spacing:.02em;line-height:50px;padding-left:4px;";
8-
header.appendChild(span);
8+
span.style.cssText = "font-size:.9rem;font-weight:700;color:#22d3a0;letter-spacing:.02em;white-space:nowrap;";
9+
brand.appendChild(span);
910
}
1011
});
1112

0 commit comments

Comments
 (0)