fix: hide empty dt, dd, p tags with only hidden inputs

This commit is contained in:
Zack Spear
2025-06-12 15:10:55 -07:00
parent 1cfb996852
commit f7ff72cbfa

View File

@@ -1283,6 +1283,7 @@ a.list {
* Necessary evil to prevent needing to rewrite .page file parsing and allow for a more responsive page.
*/
dt, dd, p {
&:has(input[type="hidden"]:only-child),
&:empty {
display: none !important;
margin: 0 !important;