Skip to content

A free, self-hostable news aggregator…

refactor(themes): drop redundant :has() in dropdown label selector (#8813)

polybjorn1020652787bf
diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css
index 202bc997d..618cf40b2 100644
--- a/p/themes/base-theme/frss.css
+++ b/p/themes/base-theme/frss.css
@@ -409,7 +409,7 @@ input[type="checkbox"] {
display: none;
}
-.dropdown-menu .item label:not(.noHover):has(input[type="checkbox"]) {
+.dropdown-menu .item label:not(.noHover) {
padding-left: 2.5rem;
text-indent: -2.5rem;
}
diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.css
index 9fa6c10da..071f07981 100644
--- a/p/themes/base-theme/frss.rtl.css
+++ b/p/themes/base-theme/frss.rtl.css
@@ -409,7 +409,7 @@ input[type="checkbox"] {
display: none;
}
-.dropdown-menu .item label:not(.noHover):has(input[type="checkbox"]) {
+.dropdown-menu .item label:not(.noHover) {
padding-right: 2.5rem;
text-indent: -2.5rem;
}