Skip to content

Commit 341fe7f

Browse files
committed
updated default template and css
1 parent 17d48e7 commit 341fe7f

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

django_tables2_simplefilter/static/django_tables2_simplefilter/filter.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
.filter-form>h4 { margin:0px; }
33
.filter-item:first-child { margin-top:15px; }
44
.filter-item .filter-name { text-align:right; }
5-
.filter-left-column { display:inline-block; float:left; width:150px; }
6-
.filter-right-column { display:inline-block; margin-left:150px; }
5+
.filter-left-column { display:inline-block; float:left; width:150px; margin-top:2px; }
6+
.filter-right-column { display:inline-block; }
77
.filter-actions { margin-top:15px; }
88
.filter-reset { font-size:0.8em; }

django_tables2_simplefilter/templates/django_tables2_simplefilter/filter_selection.html

+2-5
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,8 @@ <h4>Filter</h4>
1717
</div>
1818
{% endfor %}
1919
<div class="filter-actions">
20-
<div class="filter-left-column"></div>
21-
<div class="filter-right-column">
22-
<span class="filter-submit"><input type="submit" value="Filter"/></span>
23-
<span class="filter-reset"><a href="?">Reset</a></span>
24-
</div>
20+
<span class="filter-submit"><input type="submit" value="Filter"/></span>
21+
<span class="filter-reset"><a href="?">Reset</a></span>
2522
</div>
2623
</form>
2724
</div>

0 commit comments

Comments
 (0)