diff options
| -rw-r--r-- | src/web/src/components/Search/Search.css | 14 | ||||
| -rw-r--r-- | src/web/src/config.js | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/web/src/components/Search/Search.css b/src/web/src/components/Search/Search.css index 7c91a08b..750c5c2d 100644 --- a/src/web/src/components/Search/Search.css +++ b/src/web/src/components/Search/Search.css @@ -15,8 +15,8 @@ height: 78px !important; } -@media only screen and (min-width: 851px) { - .search-options-hide-no-slots, .search-options-hide-locked { +@media only screen and (min-width: 991px) { + .search-options-hide-no-slots, .search-options-hide-locked, .search-options-fold-results { margin-left: 1rem; } @@ -25,28 +25,28 @@ } } -@media only screen and (max-width: 850px) { +@media only screen and (max-width: 685px) { .search-options-sort { width: 100%; } } -@media only screen and (max-width: 850px) { +@media only screen and (max-width: 990px) { .search-option-toggles { margin-top: 1rem; } - .search-options-hide-no-slots { + .search-options-hide-no-slots, .search-options-fold-results { margin-left: 1rem; } } -@media only screen and (max-width: 537px) { +@media only screen and (max-width: 684px) { .search-option-toggles { display: grid; } - .search-options-hide-no-slots { + .search-options-hide-no-slots, .search-options-fold-results { margin-top: 1rem; margin-left: 0px; } diff --git a/src/web/src/config.js b/src/web/src/config.js index 6f899564..8f0ac901 100644 --- a/src/web/src/config.js +++ b/src/web/src/config.js @@ -1,5 +1,5 @@ const urlBase = (window.urlBase === '/' ? '' : window.urlBase) || ''; -const rootUrl = process.env.NODE_ENV === 'production' ? urlBase : `http://localhost:5000/${urlBase}`; +const rootUrl = process.env.NODE_ENV === 'production' ? urlBase : `http://localhost:5000${urlBase}`; const apiBaseUrl = `${rootUrl}/api/v0`; const hubBaseUrl = `${rootUrl}/hub`; const tokenKey = 'slskd-token'; |
