Skip to content

Commit 3de2029

Browse files
committed
remove wrong CSS styles
1 parent 5b584a9 commit 3de2029

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

templates/repo/view_file.tmpl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@
5858
<a class="ui mini basic button unescape-button" style="display: none;">{{.locale.Tr "repo.unescape_control_characters"}}</a>
5959
<a class="ui mini basic button escape-button">{{.locale.Tr "repo.escape_control_characters"}}</a>
6060
{{end}}
61-
<button class="ui mini basic button small compact tooltip" id="copy-file-content" data-content="{{.locale.Tr "copy_content"}}" aria-label="{{.locale.Tr "copy_content"}}"
62-
{{if or (.IsMarkup) (.IsRenderedHTML) (not .IsTextSource)}}
63-
disabled
64-
{{end}}
61+
<button class="ui mini basic button compact tooltip" id="copy-file-content" data-content="{{.locale.Tr "copy_content"}}" aria-label="{{.locale.Tr "copy_content"}}"
62+
{{if or (.IsMarkup) (.IsRenderedHTML) (not .IsTextSource)}}
63+
disabled
64+
{{end}}
6565
>
6666
{{svg "octicon-copy" 14}}
6767
</button>

0 commit comments

Comments
 (0)