fix(SampleList): render TypographyMenu every time but hide it when needed

This commit is contained in:
Ilia Mashkov
2026-02-09 16:49:56 +03:00
parent 6945169279
commit 61c67acfb8

View File

@@ -101,7 +101,8 @@ function checkPosition() {
{/snippet} {/snippet}
</FontVirtualList> </FontVirtualList>
{#if isAboveMiddle} <TypographyMenu
<TypographyMenu class="fixed bottom-4 sm:bottom-5 right-4 sm:left-1/2 sm:right-[unset] sm:-translate-x-1/2" /> class="fixed bottom-4 sm:bottom-5 right-4 sm:left-1/2 sm:right-[unset] sm:-translate-x-1/2"
{/if} hidden={!isAboveMiddle}
/>
</div> </div>