style: update TOC button styling in README view

- Remove border from the TOC button in the README view for a cleaner appearance.
- Ensure hover state maintains no border for consistency with the overall design.
This commit is contained in:
hamki committed 2026-01-26 16:53:23 +08:00
1 parent 512d4a9383
commit 0497d4fb89
2 files changed
+10 -1

No files matched your search

+9
View File
@@ -187,6 +187,15 @@
border-color: var(--color-primary);
}
/* README view: TOC button should not have border */
#readme .file-header-right #toggle-sidebar-btn {
border: none;
}
#readme .file-header-right #toggle-sidebar-btn:hover {
border: none;
}
/* Sidebar toggle button active state - when sidebar is visible */
#toggle-sidebar-btn.active {
color: var(--color-primary);