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

fix: reset button default styles for btn-octicon

This commit is contained in:
hamki 2026-01-16 04:51:47 +08:00
parent dcbad5b917
commit e45bc328cc
No known key found for this signature in database
GPG Key ID: 092D4EC7F4DECB68
2 changed files with 4 additions and 1 deletions

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"}}</button>
<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"}}">

View File

@ -169,6 +169,9 @@ td .commit-summary {
padding: 8px;
vertical-align: middle;
color: var(--color-text);
background: none;
border: none;
cursor: pointer;
}
.non-diff-file-content .header .file-actions .btn-octicon:hover {