From 77f5742221a562407c601c4d462e5ea9c62bc5f9 Mon Sep 17 00:00:00 2001 From: ai-bot Date: Sun, 15 Nov 2026 12:58:28 +0000 Subject: [PATCH] Let the hidden attribute beat the display rules --- static/style.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/static/style.css b/static/style.css index 002eb91..a85229c 100644 --- a/static/style.css +++ b/static/style.css @@ -25,6 +25,12 @@ html { -webkit-text-size-adjust: 100%; } +/* The form hides the fields and sections that do not belong to the chosen type + with the hidden attribute, so it has to beat the display rules below. */ +[hidden] { + display: none !important; +} + body { margin: 0; background: #f5f5f2;