mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
style: format via prettier
This commit is contained in:
@@ -95,7 +95,10 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/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)}
|
{#each filteredOptions as option (option.value)}
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
|
|||||||
@@ -132,6 +132,15 @@
|
|||||||
{/if}
|
{/if}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</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}
|
{#if paste.expiresAt > 0}
|
||||||
<div
|
<div
|
||||||
class="mt-1 flex items-center gap-2 text-sm text-neutral-400"
|
class="mt-1 flex items-center gap-2 text-sm text-neutral-400"
|
||||||
@@ -151,15 +160,6 @@
|
|||||||
<span>{paste.author?.username ?? 'Anonymous'}</span>
|
<span>{paste.author?.username ?? 'Anonymous'}</span>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/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>
|
<div>
|
||||||
<div class="flex items-center gap-2 text-sm text-neutral-400">
|
<div class="flex items-center gap-2 text-sm text-neutral-400">
|
||||||
|
|||||||
Reference in New Issue
Block a user