Skip to content

Commit a33efb8

Browse files
committed
use min-height
1 parent eb2a1ea commit a33efb8

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

templates/shared/search/combo.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
{{template "shared/search/input" dict "Value" .Value "Disabled" .Disabled "Placeholder" .Placeholder}}
1111
{{if .SearchModes}}
1212
<div class="ui small dropdown selection {{if .Disabled}}disabled{{end}}" data-tooltip-content="{{ctx.Locale.Tr "search.type_tooltip"}}">
13-
<div class="text">&nbsp;</div> {{svg "octicon-triangle-down" 14 "dropdown icon"}}
13+
<div class="text"></div> {{svg "octicon-triangle-down" 14 "dropdown icon"}}
1414
<input name="search_mode" type="hidden" value="
1515
{{- if .SelectedSearchMode -}}
1616
{{- .SelectedSearchMode -}}

web_src/css/base.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,10 @@ a.label,
414414
color: var(--color-text-light-2);
415415
}
416416

417+
.ui.dropdown > .text {
418+
min-height: 16px;
419+
}
420+
417421
/* extend fomantic style '.ui.dropdown > .text > img' to include svg.img */
418422
.ui.dropdown > .text > .img {
419423
margin-left: 0;

0 commit comments

Comments
 (0)