From 2c545cd1b03851f5e4106c2478f76a421cf1de64 Mon Sep 17 00:00:00 2001 From: Bendik Aagaard Lynghaug Date: Sun, 30 Aug 2026 16:06:57 +0200 Subject: [PATCH] Voice preview stays hidden until there is something to play --- style/main.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/style/main.css b/style/main.css index 3983108..6604104 100644 --- a/style/main.css +++ b/style/main.css @@ -499,6 +499,11 @@ main.not-found { margin-top: 0.4rem; } +/* display:block above would beat the hidden attribute */ +.voice-preview[hidden] { + display: none; +} + /* links inside markdown descriptions */ .alt-description a, .feature p a {