Commit fa916ff
[docs] Move theme toggle (sun icon) into header (#2090)
**Link the Issue(s) this Pull Request is related to.**
Fixes #1894
**Summarize your change.**
Modified header_custom.html file to append the theme button element to
aux-nav-list instead of directly to the document body. This improves
visibility.
<img width="1165" height="339" alt="Screenshot 2025-12-02 at 11 31
27 PM"
src="https://github.com/user-attachments/assets/a1c99a3c-fae1-4c11-872c-0833389778c2"
/>
<!--
For a step-by-step list to walk you through the pull request process,
see
https://www.opencue.io/contributing/.
Please add unit tests for any new code. This helps our project maintain
code quality and ensure
future changes don't break anything. If you're stuck on this or not sure
how to proceed, feel
free to create a Draft Pull Request and ask one of the OpenCue
committers for advice.
-->
[docs] Fix theme toggle issues from header migration
- Add null check for aux-nav-list to prevent TypeError
- Remove orphaned CSS properties (top, right, align-items, gap) that had
no effect without position:fixed and display:flex
- Fix typos in comments
- Update function comment to reflect new behavior
---------
Signed-off-by: silvialpz <[email protected]>
Signed-off-by: Ramon Figueiredo <[email protected]>
Co-authored-by: Ramon Figueiredo <[email protected]>1 parent 5e374a8 commit fa916ff
1 file changed
+16
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2423 | 2423 | | |
2424 | 2424 | | |
2425 | 2425 | | |
2426 | | - | |
2427 | | - | |
| 2426 | + | |
| 2427 | + | |
2428 | 2428 | | |
2429 | 2429 | | |
2430 | 2430 | | |
| |||
2434 | 2434 | | |
2435 | 2435 | | |
2436 | 2436 | | |
2437 | | - | |
2438 | | - | |
2439 | | - | |
2440 | | - | |
2441 | 2437 | | |
2442 | 2438 | | |
2443 | 2439 | | |
| |||
2446 | 2442 | | |
2447 | 2443 | | |
2448 | 2444 | | |
2449 | | - | |
2450 | | - | |
2451 | | - | |
2452 | 2445 | | |
2453 | 2446 | | |
2454 | 2447 | | |
| |||
2481 | 2474 | | |
2482 | 2475 | | |
2483 | 2476 | | |
2484 | | - | |
2485 | | - | |
| 2477 | + | |
| 2478 | + | |
| 2479 | + | |
| 2480 | + | |
| 2481 | + | |
| 2482 | + | |
| 2483 | + | |
| 2484 | + | |
| 2485 | + | |
| 2486 | + | |
| 2487 | + | |
| 2488 | + | |
| 2489 | + | |
2486 | 2490 | | |
2487 | 2491 | | |
2488 | 2492 | | |
| |||
2506 | 2510 | | |
2507 | 2511 | | |
2508 | 2512 | | |
2509 | | - | |
| 2513 | + | |
2510 | 2514 | | |
2511 | 2515 | | |
2512 | 2516 | | |
| |||
0 commit comments