1
0
mirror of synced 2026-08-05 09:46:57 +00:00

FIX: do not show solved/unsolved filter when editing category (#254)

UX: add spacing for solved/unsolved filter dropdown
This commit is contained in:
Meghna
2023-09-26 18:39:17 +05:30
committed by GitHub
parent 3b9ecc69c6
commit 9fbf43e2f0
2 changed files with 3 additions and 1 deletions
@@ -21,7 +21,8 @@ export default class SolvedStatusFilter extends Component {
if (
!helper.siteSettings.show_filter_by_solved_status ||
router.currentRouteName === "discovery.categories"
router.currentRouteName === "discovery.categories" ||
args.editingCategory
) {
return false;
} else if (helper.siteSettings.allow_solved_on_all_topics) {
+1
View File
@@ -3,6 +3,7 @@ $solved-color: green;
.select-kit {
&.solved-status-filter {
min-width: auto;
margin-right: 0.5em;
.select-kit-header {
margin: 0;
}