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 */
|
/* 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;
|
||||||
|
@ -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">
|
||||||
|
@ -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="→">
|
<input type="submit" value="→">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user