fix: t h e s q u a r e

This commit is contained in:
Xylight committed 2023-11-14 20:09:45 -08:00
1 parent 5f8c1ed05a
commit a6bf0c996b
2 files changed
+14 -14

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "photon-lemmy",
"version": "1.21.0",
"version": "1.21.1",
"private": true,
"scripts": {
"dev": "vite dev",
+13 -13
View File
@@ -1,10 +1,10 @@
<script lang="ts">
import CommunityLink from "$lib/components/lemmy/community/CommunityLink.svelte"
import Avatar from "$lib/components/ui/Avatar.svelte"
import { Badge } from "mono-svelte"
import UserLink from "$lib/components/lemmy/user/UserLink.svelte"
import RelativeDate from "$lib/components/util/RelativeDate.svelte"
import type { Community, Person, SubscribedType } from "lemmy-js-client"
import CommunityLink from '$lib/components/lemmy/community/CommunityLink.svelte'
import Avatar from '$lib/components/ui/Avatar.svelte'
import { Badge } from 'mono-svelte'
import UserLink from '$lib/components/lemmy/user/UserLink.svelte'
import RelativeDate from '$lib/components/util/RelativeDate.svelte'
import type { Community, Person, SubscribedType } from 'lemmy-js-client'
import {
Bookmark,
Check,
@@ -13,10 +13,10 @@
Megaphone,
Plus,
Trash,
} from "svelte-hero-icons"
import { getInstance } from "$lib/lemmy.js"
import { profile } from "$lib/auth.js"
import Subscribe from "../../../../routes/communities/Subscribe.svelte"
} from 'svelte-hero-icons'
import { getInstance } from '$lib/lemmy.js'
import { profile } from '$lib/auth.js'
import Subscribe from '../../../../routes/communities/Subscribe.svelte'
export let community: Community | undefined = undefined
export let subscribed: SubscribedType | undefined = undefined
@@ -48,7 +48,7 @@
if (!community) return
await subscribe(community.id, subscribed)
subscribed =
subscribed == "NotSubscribed" ? "Subscribed" : "NotSubscribed"
subscribed == 'NotSubscribed' ? 'Subscribed' : 'NotSubscribed'
}}
class="relative cursor-pointer"
>
@@ -62,7 +62,7 @@
-bottom-1.5 -right-1.5 grid place-items-center transition-all"
>
<Icon
src={subscribed == "NotSubscribed" ? Plus : Check}
src={subscribed == 'NotSubscribed' ? Plus : Check}
mini
size="12"
/>
@@ -100,7 +100,7 @@
</div>
<div
class="flex flex-row ml-auto gap-2 flex-shrink overflow-scroll [&>*]:flex-shrink-0"
class="flex flex-row ml-auto gap-2 flex-shrink overflow-auto [&>*]:flex-shrink-0"
>
{#if nsfw}
<Badge color="red-subtle">NSFW</Badge>