diff --git a/css/base.php b/css/base.php index 346711d..e68b1b4 100644 --- a/css/base.php +++ b/css/base.php @@ -308,7 +308,10 @@ table.fields tr.verified td .fa.fa-check::before { } #window-instance #container .card { margin-bottom: 1em; - max-width: 40em; + max-width: 50em; +} +#window-instance #filters-all { + max-width: 50em; } #window-instance #container #new-accounts .card { width: calc(100vw - 4em); diff --git a/views/instance.php b/views/instance.php index c750b71..632ac5c 100644 --- a/views/instance.php +++ b/views/instance.php @@ -477,6 +477,7 @@ window.view.instance = { } E.custom.btncollapse_render(); http.get('api/v1/config/filters/get?type=users', {}, function(js) { + js = js.sort((a,b) => a.preset_name.localeCompare(b.preset_name)); window.vars.user_filters = js; E.template('filters-all', function(TPL) { var html = '';