diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-05-09 07:29:00 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2022-05-09 07:29:00 -0500 |
| commit | 9d311b82eca93e2fe0c9c60452435cbb0a010755 (patch) | |
| tree | ba9494246fd6ccaff1474374f034ef8ee0cbf1d2 /src/web | |
| parent | 35091805ce75a0d1a17d9a0c1d5faeea6be925fe (diff) | |
| parent | 49d2e68ab679519c132bc2f7f97e80e34700637b (diff) | |
| download | slskd-9d311b82eca93e2fe0c9c60452435cbb0a010755.tar.gz | |
Merge remote-tracking branch 'origin/master' into search-list
Diffstat (limited to 'src/web')
| -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 76079ee9..10d7c15f 100644 --- a/src/web/src/components/Search/Search.css +++ b/src/web/src/components/Search/Search.css @@ -21,8 +21,8 @@ margin-right: auto !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; } @@ -31,28 +31,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 ca9f58b2..8b1c40c6 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'; |
