Browse Source

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>
for-closed-social
Cirno the Strongest 4 years ago
committed by GitHub
parent
commit
180286da0c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions
  1. +1
    -1
      templates/repo/diff/new_review.tmpl
  2. +6
    -0
      web_src/less/_review.less

+ 1
- 1
templates/repo/diff/new_review.tmpl View File

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

+ 6
- 0
web_src/less/_review.less View File

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