From 75431e0bf954f3775d93c4e1898e649bd03aa412 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20=C5=A0vara?= Date: Wed, 7 Jan 2026 11:41:52 +0100 Subject: [PATCH] Hide bridged nav-button elements when native nav component is active. --- app/assets/stylesheets/native.css | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/app/assets/stylesheets/native.css b/app/assets/stylesheets/native.css index b118ba3a3..9a60026a7 100644 --- a/app/assets/stylesheets/native.css +++ b/app/assets/stylesheets/native.css @@ -51,3 +51,20 @@ } } } + +[data-bridge-components~=nav-button] { + [data-controller~=bridge--nav-button]:not(summary) { + display: none; + } + + summary[data-controller~=bridge--nav-button] { + overflow: hidden; + width: 0; + height: 0; + position: absolute; + + * { + display: none; + } + } +}