Merge pull request #45 from somoso/long-label-fix
Stop label from being long for joined subreddits
This commit is contained in:
commit
065d82a5f5
@ -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;
|
||||
|
@ -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">
|
||||
|
@ -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="→">
|
||||
|
Loading…
x
Reference in New Issue
Block a user