mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-15 15:03:32 +02:00
fix: use btn-octicon style for TOC toggle button
This commit is contained in:
parent
47e11c61db
commit
84b344ff61
@ -36,11 +36,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="file-header-right file-actions flex-text-block tw-flex-wrap">
|
<div class="file-header-right file-actions flex-text-block tw-flex-wrap">
|
||||||
{{if .FileSidebarHTML}}
|
{{if .FileSidebarHTML}}
|
||||||
<div class="ui compact icon buttons">
|
<button class="btn-octicon" id="toggle-sidebar-btn" data-tooltip-content="{{ctx.Locale.Tr "toc"}}">{{svg "octicon-list-unordered" 15}}</button>
|
||||||
<button class="ui mini basic button" id="toggle-sidebar-btn" data-tooltip-content="{{ctx.Locale.Tr "toc"}}">
|
|
||||||
{{svg "octicon-list-unordered" 15}}
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
{{end}}
|
{{end}}
|
||||||
{{/* this componment is also controlled by frontend plugin renders */}}
|
{{/* this componment is also controlled by frontend plugin renders */}}
|
||||||
<div class="ui compact icon buttons file-view-toggle-buttons {{Iif .HasSourceRenderedToggle "" "tw-hidden"}}">
|
<div class="ui compact icon buttons file-view-toggle-buttons {{Iif .HasSourceRenderedToggle "" "tw-hidden"}}">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user