mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-22 11:06:43 +02:00
style: auto-format codebase with Prettier
Applied formatting to 1487+ files using pnpm format:write - TypeScript/JavaScript files - Svelte components - Astro pages - JSON configs - Markdown docs 13 files still need manual review (Astro JSX comments)
This commit is contained in:
parent
0241f5554c
commit
d36b321d9d
3952 changed files with 661498 additions and 739751 deletions
|
|
@ -30,7 +30,7 @@
|
|||
height = '20px',
|
||||
borderRadius = '4px',
|
||||
circle = false,
|
||||
class: className = ''
|
||||
class: className = '',
|
||||
}: Props = $props();
|
||||
|
||||
const computedRadius = $derived(circle ? '50%' : borderRadius);
|
||||
|
|
|
|||
|
|
@ -31,15 +31,12 @@
|
|||
lineHeight = '16px',
|
||||
gap = '8px',
|
||||
lastLineWidth = '70%',
|
||||
class: className = ''
|
||||
class: className = '',
|
||||
}: Props = $props();
|
||||
</script>
|
||||
|
||||
<div class="skeleton-text {className}" style="display: flex; flex-direction: column; gap: {gap};">
|
||||
{#each Array(lines) as _, i}
|
||||
<SkeletonBox
|
||||
width={i === lines - 1 ? lastLineWidth : '100%'}
|
||||
height={lineHeight}
|
||||
/>
|
||||
<SkeletonBox width={i === lines - 1 ? lastLineWidth : '100%'} height={lineHeight} />
|
||||
{/each}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue