Skip to content

Commit c5d2a1b

Browse files
litvinovgchenejac
authored andcommitted
Style improvements for no individual message.
1 parent 9c3a914 commit c5d2a1b

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

webapp/src/main/webapp/css/search/custom_filters.css

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,8 @@ ul#alphabetical-index-individuals li {
227227

228228
#individuals-in-class ul {
229229
list-style: none;
230+
float: left;
231+
width: 100%;
230232
}
231233

232234
#individuals-in-class {
@@ -296,6 +298,12 @@ li.individual h1.thumb {
296298
padding-top: 30px;
297299
}
298300

299-
p.no-individuals {
300-
margin: 1em 2em;
301+
p.no-individuals:first-child {
302+
margin-top: 2em;
303+
margin-left: 2em;
304+
margin-bottom: 1em;
305+
}
306+
307+
p.no-individuals:not(:first-child) {
308+
margin-left: 2em;
301309
}

webapp/src/main/webapp/templates/freemarker/body/menupage/browseSearchFilterValues.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
<#elseif filters[indexFilterName]?? && filters[indexFilterName].inputText?has_content>
114114
<#assign selectedLetter = filters[indexFilterName].inputText >
115115
<li>
116-
<p class="no-individuals">${i18n().there_are_no_entries_starting_with} ${selectedLetter}</p>
116+
<p class="no-individuals">${i18n().there_are_no_entries_starting_with} ${selectedLetter}.</p>
117117
<p class="no-individuals">${i18n().try_another_letter}</p>
118118
</li>
119119
<#else>

0 commit comments

Comments
 (0)