somoso 2021-01-12 15:47:39 +00:00
parent eb735a42fe
commit 65f1a2afb2
3 changed files with 9 additions and 2 deletions

View File

@ -222,6 +222,13 @@ aside {
/* Sorting and Search */
.search_label {
max-width: 100px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
select {
background: var(--outside);
transition: 0.2s all;

View File

@ -10,7 +10,7 @@
{% if sub != "" %}
<div id="inside">
<input type="checkbox" name="restrict_sr" id="restrict_sr" {% if params.restrict_sr != "" %}checked{% endif %}>
<label for="restrict_sr">in r/{{ sub }}</label>
<label for="restrict_sr" class="search_label">in r/{{ sub }}</label>
</div>
{% endif %}
<select id="sort_options" name="sort">

View File

@ -20,7 +20,7 @@
{% if root != "/r/" && !root.is_empty() %}
<div id="inside">
<input type="checkbox" name="restrict_sr" id="restrict_sr">
<label for="restrict_sr">in {{ root }}</label>
<label for="restrict_sr" class="search_label">in {{ root }}</label>
</div>
{% endif %}
<input type="submit" value="&rarr;">