fixes/mobile-comparator #25

Merged
ilia merged 10 commits from fixes/mobile-comparator into main 2026-02-10 16:21:45 +00:00
2 changed files with 4 additions and 6 deletions
Showing only changes of commit 3f0761aca7 - Show all commits

View File

@@ -84,8 +84,7 @@ const letterSpacing = $derived(controlManager.spacing);
</div> </div>
<div class="p-4 sm:p-5 md:p-8 relative z-10"> <div class="p-4 sm:p-5 md:p-8 relative z-10">
<!-- TODO: Fix this ! --> <FontApplicator {font} weight={fontWeight}>
<FontApplicator id={font.id} name={font.name} url={font.styles.regular!}>
<ContentEditable <ContentEditable
bind:text={text} bind:text={text}
{...restProps} {...restProps}

View File

@@ -70,7 +70,7 @@ function selectFontB(font: UnifiedFont) {
)} )}
> >
<div class="text-left flex-1 min-w-0"> <div class="text-left flex-1 min-w-0">
<FontApplicator name={font.name} id={font.id} {url}> <FontApplicator {font} weight={typography.weight}>
{font.name} {font.name}
</FontApplicator> </FontApplicator>
</div> </div>
@@ -95,9 +95,8 @@ function selectFontB(font: UnifiedFont) {
onclick={handleClick} onclick={handleClick}
> >
<FontApplicator <FontApplicator
name={fontListItem.name} font={fontListItem}
id={fontListItem.id} weight={typography.weight}
url={getFontUrl(fontListItem, typography.weight) ?? ''}
> >
{fontListItem.name} {fontListItem.name}
</FontApplicator> </FontApplicator>