From 0f9336cac5d7f57277bd392d70a170b2f0948c06 Mon Sep 17 00:00:00 2001 From: Nathan Yam Date: Tue, 16 May 2017 21:12:19 +1000 Subject: [PATCH] Format css nicely --- nyaa/static/css/main.css | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/nyaa/static/css/main.css b/nyaa/static/css/main.css index 301605f..1434c19 100644 --- a/nyaa/static/css/main.css +++ b/nyaa/static/css/main.css @@ -105,9 +105,9 @@ table.torrent-list thead th.sorting_desc:after { } .form-control.search-bar { - order: 1; - width: 99%; - padding-right: 4em; // Ensure text can not flow under button + order: 1; + width: 99%; + padding-right: 4em; // Ensure text can not flow under button } .search-btn { @@ -115,12 +115,12 @@ table.torrent-list thead th.sorting_desc:after { align-self: flex-end; top: -34px; height: 0; - width: auto; + width: auto; z-index: 3; } #navFilter-criteria { - order: 3; + order: 3; } #navFilter-category { @@ -129,15 +129,11 @@ table.torrent-list thead th.sorting_desc:after { .nav-filter { width: 100%; - padding: 1em 0; -} - -.nav-filter .bootstrap-select { - width: 100% !important; + padding: 1em 0; } .bootstrap-select > button { - margin-top: 1em; + margin-top: 1em; } /* Allows the bootstrap selects on nav show outside the @@ -151,6 +147,10 @@ table.torrent-list thead th.sorting_desc:after { top: 0; width: auto; } + + .bootstrap-select > button { + margin-top: auto; + } } /* elasticsearch term highlight */