0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-04-09 23:53:20 +02:00

fix: use btn-octicon style for TOC toggle button

This commit is contained in:
hamki 2026-01-16 04:44:13 +08:00
parent 47e11c61db
commit 84b344ff61
No known key found for this signature in database
GPG Key ID: 092D4EC7F4DECB68

View File

@ -36,11 +36,7 @@
</div>
<div class="file-header-right file-actions flex-text-block tw-flex-wrap">
{{if .FileSidebarHTML}}
<div class="ui compact icon buttons">
<button class="ui mini basic button" id="toggle-sidebar-btn" data-tooltip-content="{{ctx.Locale.Tr "toc"}}">
{{svg "octicon-list-unordered" 15}}
</button>
</div>
<button class="btn-octicon" id="toggle-sidebar-btn" data-tooltip-content="{{ctx.Locale.Tr "toc"}}">{{svg "octicon-list-unordered" 15}}</button>
{{end}}
{{/* this componment is also controlled by frontend plugin renders */}}
<div class="ui compact icon buttons file-view-toggle-buttons {{Iif .HasSourceRenderedToggle "" "tw-hidden"}}">