fixes/mobile-comparator #25
@@ -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}
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user