fix: alt text issues

This commit is contained in:
Xylight committed 2024-07-05 18:15:47 -07:00
1 parent c1c547759b
commit 6c047be49d
2 files changed
+5 -2

No files matched your search

@@ -80,7 +80,7 @@
}} }}
class="absolute bottom-0 left-0 text-sm m-2 text-left" class="absolute bottom-0 left-0 text-sm m-2 text-left"
size="sm" size="sm"
rounding="pill" rounding="lg"
alignment="left" alignment="left"
> >
{#if showAltText} {#if showAltText}
@@ -23,7 +23,10 @@
style={$$props.style ?? ''} style={$$props.style ?? ''}
> >
{#if post.alt_text} {#if post.alt_text}
<Popover openOnHover placement="bottom-end"> <Popover
openOnHover
placement={$userSettings.leftAlign ? 'bottom-start' : 'bottom-end'}
>
<Material <Material
slot="target" slot="target"
padding="none" padding="none"