Hidden parts of the feed tabs and the megamenu are left out instead of hidden
Build / Build (push) Successful in 33s

A feed tab's name and the megamenu's toggle are now only rendered where they show, rather than rendered and then hidden
by a class, so nothing runs or ships for a part no one sees. The validator hint and the phone menu keep their hiding
class on purpose: the browser reveals the first, and the second is also the desktop sidebar. The house-rules checks move
to 1.1.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W4YtEJrgxG12Pc39Fai8Bd
This commit is contained in:
thepraandClaude Opus 5.5 committed 2026-11-10 08:11:24 +01:00
1 parent dca046e27d
commit e150b12437
4 files changed
+23 -5

No files matched your search

+8 -2
View File
@@ -5,9 +5,15 @@
Escape are the browser's. The root is a popover too: with Responsive it turns, below sm, into a vertical menu that
the toggle button opens. daisyUI supports at most 10 items. text-inherit undoes the browser's popover CanvasText
colour, which daisyUI resets for dropdowns but not here. *@
@if (Responsive || Direction == DDirection.Vertical)
@if (Direction == DDirection.Vertical)
{
<button type="button" class="@Cx("btn", Direction == DDirection.Vertical ? null : "sm:hidden", ToggleClass)" popovertarget="@uid">
<button type="button" class="@Cx("btn", ToggleClass)" popovertarget="@uid">
@ToggleText
</button>
}
else if (Responsive)
{
<button type="button" class="btn sm:hidden @ToggleClass" popovertarget="@uid">
@ToggleText
</button>
}