diff --git a/app/javascript/src/styles/base/020_base.scss b/app/javascript/src/styles/base/020_base.scss index 31a4dd7d4..05b912423 100644 --- a/app/javascript/src/styles/base/020_base.scss +++ b/app/javascript/src/styles/base/020_base.scss @@ -2,6 +2,14 @@ box-sizing: border-box; } +/* + * Make sure elements with the HTML5 [hidden] attribute (e.g. ) + * really are hidden. Otherwise the `display` property can override the [hidden] attribute. + */ +[hidden] { + display: none !important; +} + body { color: var(--text-color); background-color: var(--body-background-color);