mirror of
1
Fork 0

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>
This commit is contained in:
Cirno the Strongest 2020-06-22 02:02:22 +02:00 committed by GitHub
parent c1a2887c02
commit 180286da0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

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

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 {