From e9d0db28924cb604bfa4c78cff3e16c6a5152c34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Wed, 19 Jan 2022 20:30:52 -0500 Subject: [PATCH] feat: hide all categories link on flags filters --- public/less/flags.less | 7 +++++++ test.sh | 1 + 2 files changed, 8 insertions(+) create mode 100644 test.sh diff --git a/public/less/flags.less b/public/less/flags.less index 29b5998933..0edccd7819 100644 --- a/public/less/flags.less +++ b/public/less/flags.less @@ -4,6 +4,13 @@ - Now available in front-end for global mods as well */ +.page-flags { + // hide the all categories li element + [component="flags/filters"] [component="category/dropdown"] [data-all="all"] { + display: none; + } +} + .page-manage-flags, .page-posts-flags { .post-container > .row { margin-bottom: 2rem; diff --git a/test.sh b/test.sh new file mode 100644 index 0000000000..27750c67dc --- /dev/null +++ b/test.sh @@ -0,0 +1 @@ +mocha test/api.js test/authentication.js test/batch.js test/blacklist.js test/categories.js test/controllers-admin.js test/controllers.js test/coverPhoto.js test/defer-logger.js test/emailer.js test/feeds.js test/file.js test/flags.js test/groups.js test/image.js test/locale-detect.js test/messaging.js test/meta.js test/middleware.js test/notifications.js test/pagination.js test/password.js test/posts.js test/pubsub.js test/rewards.js test/search-admin.js test/search.js test/settings.js test/template-helpers.js test/topics.js test/translator.js test/user.js test/utils.js \ No newline at end of file