Skip to content

Commit

Permalink
Change padding on the buttons (#16)
Browse files Browse the repository at this point in the history
There's too much padding on the buttons right now. I picked the values for `padding: 4px 5px;` from the standard a.admin button on  Django Admin, so it fits perfectly with the current Django Admin design.
  • Loading branch information
nitinnain authored and silentsokolov committed Apr 25, 2018
1 parent 3d82b76 commit 5df5ae7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rangefilter/templates/rangefilter/date_filter.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
<h3>{% blocktrans with filter_title=title %} By {{ filter_title }} {% endblocktrans %}</h3>
<link rel="stylesheet" type="text/css" href="{% static 'admin/css/widgets.css' %}">
<style>
.button, input[type=submit], input[type=button], .submit-row input, a.button,
.button, input[type=reset] {
background: #79aec8;
padding: 10px 15px;
padding: 4px 5px;
border: none;
border-radius: 4px;
color: #fff;
Expand Down

0 comments on commit 5df5ae7

Please sign in to comment.