diff --git a/templates/repo/view_file.tmpl b/templates/repo/view_file.tmpl index 721c795617..a3703f37d2 100644 --- a/templates/repo/view_file.tmpl +++ b/templates/repo/view_file.tmpl @@ -36,7 +36,7 @@
{{if .FileSidebarHTML}} - + {{end}} {{/* this componment is also controlled by frontend plugin renders */}}
diff --git a/web_src/css/repo/home.css b/web_src/css/repo/home.css index 3f3bbd1d6a..103df1644f 100644 --- a/web_src/css/repo/home.css +++ b/web_src/css/repo/home.css @@ -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);