fix: make link actions responsive
This commit is contained in:
1 parent
304b35be6c
commit
c01968aef9
1 file changed
+17
-5
@@ -104,7 +104,7 @@
|
|||||||
</Material>
|
</Material>
|
||||||
<div
|
<div
|
||||||
class="bg-white dark:bg-zinc-900 border border-slate-200 dark:border-zinc-800
|
class="bg-white dark:bg-zinc-900 border border-slate-200 dark:border-zinc-800
|
||||||
rounded-full flex p-1 relative -top-7 mx-2 -mb-7 w-max"
|
rounded-full flex p-1 relative -top-7 min-[384px]:mx-2 mt-8 min-[384px]:mt-0 mx-auto -mb-7 w-max max-w-full overflow-auto"
|
||||||
>
|
>
|
||||||
<PostLinkSources {url} view="cozy" bind:openMediaBias>
|
<PostLinkSources {url} view="cozy" bind:openMediaBias>
|
||||||
<Button
|
<Button
|
||||||
@@ -112,10 +112,16 @@
|
|||||||
slot="target"
|
slot="target"
|
||||||
size="sm"
|
size="sm"
|
||||||
class="w-max text-slate-600 dark:text-zinc-400 block
|
class="w-max text-slate-600 dark:text-zinc-400 block
|
||||||
text-xs"
|
text-xs flex-shrink-0"
|
||||||
rounding="pill"
|
rounding="pill"
|
||||||
>
|
>
|
||||||
<Icon src={LinkIcon} size="16" micro slot="prefix" />
|
<Icon
|
||||||
|
src={LinkIcon}
|
||||||
|
size="16"
|
||||||
|
micro
|
||||||
|
slot="prefix"
|
||||||
|
class="flex-shrink-0"
|
||||||
|
/>
|
||||||
{$t('post.actions.link.actions')}
|
{$t('post.actions.link.actions')}
|
||||||
</Button>
|
</Button>
|
||||||
</PostLinkSources>
|
</PostLinkSources>
|
||||||
@@ -123,11 +129,17 @@
|
|||||||
color="tertiary"
|
color="tertiary"
|
||||||
size="sm"
|
size="sm"
|
||||||
class="w-max text-slate-600 dark:text-zinc-400 block
|
class="w-max text-slate-600 dark:text-zinc-400 block
|
||||||
text-xs"
|
text-xs flex-shrink-0"
|
||||||
on:click={() => (openMediaBias = !openMediaBias)}
|
on:click={() => (openMediaBias = !openMediaBias)}
|
||||||
rounding="pill"
|
rounding="pill"
|
||||||
>
|
>
|
||||||
<Icon src={CheckBadge} size="16" micro slot="prefix" />
|
<Icon
|
||||||
|
src={CheckBadge}
|
||||||
|
size="16"
|
||||||
|
micro
|
||||||
|
slot="prefix"
|
||||||
|
class="flex-shrink-0"
|
||||||
|
/>
|
||||||
{$t('post.actions.more.mediaBias')}
|
{$t('post.actions.more.mediaBias')}
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user