Fix missing styling for dropdown icon on review button (#11998)

* Fix missing styling for dropdown icon on review button

* Remove unnecessary span element

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
tokarchuk/v1.17
Cirno the Strongest 4 years ago committed by GitHub
parent c1a2887c02
commit 180286da0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      templates/repo/diff/new_review.tmpl
  2. 6
      web_src/less/_review.less

@ -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">

@ -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 {

Loading…
Cancel
Save