feat(topbar): responsive DocumentTopBar — issue #173 #174

Merged
marcel merged 32 commits from feat/issue-173-document-topbar into main 2026-04-02 16:13:49 +02:00
Showing only changes of commit 3f0b686963 - Show all commits

View File

@@ -75,7 +75,7 @@ let mobileMenuOpen = $state(false);
aria-pressed={true}
class={mobile
? 'flex w-full items-center gap-2 rounded bg-primary px-3 py-2 text-left text-[16px] text-primary-fg transition focus-visible:ring-2 focus-visible:ring-primary'
: 'hidden items-center gap-1.5 rounded bg-primary px-3 py-1.5 font-sans text-[16px] font-medium text-primary-fg transition focus-visible:ring-2 focus-visible:ring-primary md:flex'}
: 'flex items-center gap-1.5 rounded bg-primary px-3 py-1.5 font-sans text-[16px] font-medium text-primary-fg transition focus-visible:ring-2 focus-visible:ring-primary'}
>
<img
src="/degruyter-icons/Simple/Medium-24px/SVG/Action/Note/Note-Add-MD.svg"
@@ -228,10 +228,6 @@ let mobileMenuOpen = $state(false);
{@render annotateBtn(true)}
{/if}
{#if canAnnotate && isPdf && annotateMode}
{@render annotateStopBtn(true)}
{/if}
{#if doc.filePath}
{@render downloadLink(true)}
{/if}