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 -1
View File
@@ -17,7 +17,14 @@
<DTab Class="gap-1 whitespace-nowrap" AccessibleName="@TabName(type)">
<Header>
<i class="@type.GetTimelineTypeIcon()" aria-hidden="true"></i>
<span class="@(type == Filter.TimelineType ? null : "hidden max-md:inline xl:inline")">@TabName(type)</span>
@if (type == Filter.TimelineType)
{
<span>@TabName(type)</span>
}
else
{
<span class="hidden max-md:inline xl:inline">@TabName(type)</span>
}
@if (type is TimelineType.Notifications && UnreadNotifications > 0)
{
<DBadge Size="DSize.Xs" Color="DColor.Primary" title="@Localizer["{0} unread", UnreadNotifications]" data-unread>@UnreadNotifications</DBadge>