1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-12-22 18:00:00 +00:00

Format css nicely

This commit is contained in:
Nathan Yam 2017-05-16 21:12:19 +10:00
parent d3a4809cb9
commit 0f9336cac5

View file

@ -105,9 +105,9 @@ table.torrent-list thead th.sorting_desc:after {
} }
.form-control.search-bar { .form-control.search-bar {
order: 1; order: 1;
width: 99%; width: 99%;
padding-right: 4em; // Ensure text can not flow under button padding-right: 4em; // Ensure text can not flow under button
} }
.search-btn { .search-btn {
@ -115,12 +115,12 @@ table.torrent-list thead th.sorting_desc:after {
align-self: flex-end; align-self: flex-end;
top: -34px; top: -34px;
height: 0; height: 0;
width: auto; width: auto;
z-index: 3; z-index: 3;
} }
#navFilter-criteria { #navFilter-criteria {
order: 3; order: 3;
} }
#navFilter-category { #navFilter-category {
@ -129,15 +129,11 @@ table.torrent-list thead th.sorting_desc:after {
.nav-filter { .nav-filter {
width: 100%; width: 100%;
padding: 1em 0; padding: 1em 0;
}
.nav-filter .bootstrap-select {
width: 100% !important;
} }
.bootstrap-select > button { .bootstrap-select > button {
margin-top: 1em; margin-top: 1em;
} }
/* Allows the bootstrap selects on nav show outside the /* Allows the bootstrap selects on nav show outside the
@ -151,6 +147,10 @@ table.torrent-list thead th.sorting_desc:after {
top: 0; top: 0;
width: auto; width: auto;
} }
.bootstrap-select > button {
margin-top: auto;
}
} }
/* elasticsearch term highlight */ /* elasticsearch term highlight */