diff --git a/app/assets/stylesheets/tables.css.scss b/app/assets/stylesheets/tables.css.scss index c020abe..d3d673d 100644 --- a/app/assets/stylesheets/tables.css.scss +++ b/app/assets/stylesheets/tables.css.scss @@ -31,8 +31,22 @@ table.pure-table-striped { } .data-table-filters { + .panel-body h4 { + margin-top: 0; + margin-bottom: 0; + } .pure-g { padding: 10px; + /* margin-bottom: 20px; */ + padding-top: 20px; + /* border-top: 1px solid #bbb; */ + &:first-child { + border-top: none; + padding-top: 0px; + } + &:last-child { + margin-bottom: 0; + } .pure-u-md-1-4, .pure-u-md-1-2 { input { width: 90%; diff --git a/app/views/users/show.html.haml b/app/views/users/show.html.haml index beb88c2..95b8f8f 100644 --- a/app/views/users/show.html.haml +++ b/app/views/users/show.html.haml @@ -6,15 +6,13 @@ .panel-body .pure-g .bound.input-listen.pure-u-1{ 'data-input-type': 'date-range' } - = "Between" %input.lower-bound{type: 'date', placeholder: 'after'} - = "and" + \- %input.upper-bound{type: 'date', placeholder: 'before'} .pure-g .bound.input-listen.pure-u-1{ 'data-input-type': 'number-range' } - = "Between" %input.lower-bound{type: 'number', placeholder: 'lower', class: 'pure-u-1-5'} - = "and" + \- %input.upper-bound{type: 'number', placeholder: 'upper', class: 'pure-u-1-5'} .pure-g .input-listen.pure-u-md-1-4{ 'data-input-type': 'text' }