Skip to content

Commit

Permalink
Work around fomantic 2.8.5 bugs (go-gitea#11767)
Browse files Browse the repository at this point in the history
Work around fomantic 2.8.5 bugs 

Closes go-gitea#11759

Related fomantic/Fomantic-UI#1372 and fomantic/Fomantic-UI#1473
  • Loading branch information
CirnoT authored and Yohann Delafollye committed Jul 31, 2020
1 parent 5b06f90 commit fdff2e8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion templates/repo/issue/view_content/pull.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@
</button>
<div class="ui dropdown icon button">
<i class="dropdown icon"></i>
<div class="menu">
<div class="menu left">
{{if $prUnit.PullRequestsConfig.AllowMerge}}
<div class="item{{if eq .MergeStyle "merge"}} active selected{{end}}" data-do="merge">{{$.i18n.Tr "repo.pulls.merge_pull_request"}}</div>
{{end}}
Expand Down
8 changes: 8 additions & 0 deletions web_src/less/_base.less
Original file line number Diff line number Diff line change
Expand Up @@ -1048,6 +1048,14 @@ i.icon.centerlock {
top: 1.45em;
}

// temporary workaround for fomantic 2.8.5 bug
// https://github.com/go-gitea/gitea/pull/11767
i.icon,
i.icons {
vertical-align: unset;
line-height: unset;
}

.ui.label {
padding: .3em .5em;
}
Expand Down

0 comments on commit fdff2e8

Please sign in to comment.