fix: remove explicit icon size for TOC button to match other btn-octicon

This commit is contained in:
hamki committed 2026-01-26 16:51:41 +08:00
1 parent 84b344ff61
commit dcbad5b917
1 file changed
+1 -1
+1 -1
View File
@@ -36,7 +36,7 @@
</div>
<div class="file-header-right file-actions flex-text-block tw-flex-wrap">
{{if .FileSidebarHTML}}
<button class="btn-octicon" id="toggle-sidebar-btn" data-tooltip-content="{{ctx.Locale.Tr "toc"}}">{{svg "octicon-list-unordered" 15}}</button>
<button class="btn-octicon" id="toggle-sidebar-btn" data-tooltip-content="{{ctx.Locale.Tr "toc"}}">{{svg "octicon-list-unordered"}}</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"}}">