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 */ /* Sorting and Search */
.search_label {
max-width: 100px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
select { select {
background: var(--outside); background: var(--outside);
transition: 0.2s all; transition: 0.2s all;

View File

@ -10,7 +10,7 @@
{% if sub != "" %} {% if sub != "" %}
<div id="inside"> <div id="inside">
<input type="checkbox" name="restrict_sr" id="restrict_sr" {% if params.restrict_sr != "" %}checked{% endif %}> <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> </div>
{% endif %} {% endif %}
<select id="sort_options" name="sort"> <select id="sort_options" name="sort">

View File

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