Skip to content

Commit 0468915

Browse files
author
Jani Giannoudis
committed
docfx: title fixing
1 parent 3e6ae85 commit 0468915

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/pages.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ jobs:
2727
- name: Setup .NET
2828
uses: actions/setup-dotnet@v5
2929
with:
30-
dotnet-version: '9.0.x'
30+
dotnet-version: '10.0.x'
31+
dotnet-quality: 'preview'
3132

3233
- name: Configure GitHub Packages source
3334
run: |

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
// Inject app name next to logo
22
document.addEventListener("DOMContentLoaded", function () {
3-
var brand = document.querySelector(".navbar-brand");
4-
if (brand) {
3+
var header = document.querySelector(".navbar-header");
4+
if (header) {
55
var span = document.createElement("span");
66
span.textContent = "Client Scripting";
7-
span.style.cssText = "margin-left:10px;font-size:.95rem;font-weight:700;color:#22d3a0;vertical-align:middle;letter-spacing:.02em;";
8-
brand.appendChild(span);
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);
99
}
1010
});
1111

0 commit comments

Comments
 (0)