mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-23 12:23:43 +02:00
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:
2 files changed
+10
-1
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user