Skip to content

Commit 180286d

Browse files
CirnoTlunnylafriks
authored
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 <[email protected]> Co-authored-by: Lauris BH <[email protected]>
1 parent c1a2887 commit 180286d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

templates/repo/diff/new_review.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="ui top right pointing dropdown custom" id="review-box">
22
<div class="ui tiny green button btn-review">
3-
<span class="text">{{.i18n.Tr "repo.diff.review"}}</span>
3+
{{.i18n.Tr "repo.diff.review"}}
44
<i class="dropdown icon"></i>
55
</div>
66
<div class="menu review-box">

web_src/less/_review.less

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,12 @@
156156
color: #428bca;
157157
}
158158

159+
.btn-review > .dropdown.icon {
160+
width: auto;
161+
font-size: .85714286em;
162+
margin: 0 0 0 1em;
163+
}
164+
159165
@media only screen and (max-width: 768px) {
160166
#review-box > .menu {
161167
> .ui.segment {

0 commit comments

Comments
 (0)