Skip to content

Commit

Permalink
Fix missing styling for dropdown icon on review button (go-gitea#11998)
Browse files Browse the repository at this point in the history
* Fix missing styling for dropdown icon on review button

* Remove unnecessary span element

Co-authored-by: Lunny Xiao <[email protected]>
Co-authored-by: Lauris BH <[email protected]>
  • Loading branch information
3 people authored Jun 22, 2020
1 parent c1a2887 commit 180286d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion templates/repo/diff/new_review.tmpl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="ui top right pointing dropdown custom" id="review-box">
<div class="ui tiny green button btn-review">
<span class="text">{{.i18n.Tr "repo.diff.review"}}</span>
{{.i18n.Tr "repo.diff.review"}}
<i class="dropdown icon"></i>
</div>
<div class="menu review-box">
Expand Down
6 changes: 6 additions & 0 deletions web_src/less/_review.less
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,12 @@
color: #428bca;
}

.btn-review > .dropdown.icon {
width: auto;
font-size: .85714286em;
margin: 0 0 0 1em;
}

@media only screen and (max-width: 768px) {
#review-box > .menu {
> .ui.segment {
Expand Down

0 comments on commit 180286d

Please sign in to comment.