mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-05 18:48:41 +00:00
style: format via prettier
This commit is contained in:
@@ -95,7 +95,10 @@
|
||||
/>
|
||||
</div>
|
||||
{/if}
|
||||
<div class="scrollbar-thin scrollbar-thumb-neutral-600 scrollbar-track-neutral-700" style="overflow-y: auto; max-height: calc({dropdownMaxHeight} - 3rem);">
|
||||
<div
|
||||
class="scrollbar-thin scrollbar-thumb-neutral-600 scrollbar-track-neutral-700"
|
||||
style="overflow-y: auto; max-height: calc({dropdownMaxHeight} - 3rem);"
|
||||
>
|
||||
{#each filteredOptions as option (option.value)}
|
||||
<button
|
||||
type="button"
|
||||
|
||||
@@ -132,6 +132,15 @@
|
||||
{/if}
|
||||
</span>
|
||||
</div>
|
||||
{#if paste.editedAt}
|
||||
<div
|
||||
class="mt-1 flex items-center gap-2 text-sm text-neutral-400"
|
||||
use:tooltip={new Date(paste.editedAt).toLocaleString()}
|
||||
>
|
||||
<History class="h-4 w-4" />
|
||||
<span>Edited {dateToRelativeString(new Date(paste.editedAt), true, false, now)}</span>
|
||||
</div>
|
||||
{/if}
|
||||
{#if paste.expiresAt > 0}
|
||||
<div
|
||||
class="mt-1 flex items-center gap-2 text-sm text-neutral-400"
|
||||
@@ -151,15 +160,6 @@
|
||||
<span>{paste.author?.username ?? 'Anonymous'}</span>
|
||||
</div>
|
||||
{/if}
|
||||
{#if paste.editedAt}
|
||||
<div
|
||||
class="mt-1 flex items-center gap-2 text-sm text-neutral-400"
|
||||
use:tooltip={new Date(paste.editedAt).toLocaleString()}
|
||||
>
|
||||
<History class="h-4 w-4" />
|
||||
<span>Edited {dateToRelativeString(new Date(paste.editedAt), true, false, now)}</span>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
<div>
|
||||
<div class="flex items-center gap-2 text-sm text-neutral-400">
|
||||
|
||||
Reference in New Issue
Block a user