misc: Fix line height
This commit is contained in:
1 parent
9d21f6331a
commit
12d4a9d9de
5 files changed
+14
-9
No files matched your search
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import Navbar from '$lib/components/ui/Navbar.svelte'
|
||||
import '../style/app.css'
|
||||
import { navigating, page } from '$app/stores'
|
||||
import { navigating } from '$app/stores'
|
||||
import nProgress from 'nprogress'
|
||||
import 'nprogress/nprogress.css'
|
||||
import ToastContainer from '$lib/components/ui/toasts/ToastContainer.svelte'
|
||||
|
||||
@@ -2,18 +2,20 @@ import { authData, getClient } from '$lib/lemmy.js'
|
||||
import { get } from 'svelte/store'
|
||||
|
||||
export async function load({ params }) {
|
||||
const post = await getClient(params.instance).getPost({
|
||||
id: Number(params.id),
|
||||
auth: get(authData)?.token,
|
||||
})
|
||||
|
||||
return {
|
||||
post: getClient(params.instance).getPost({
|
||||
id: Number(params.id),
|
||||
auth: get(authData)?.token,
|
||||
}),
|
||||
post: post,
|
||||
streamed: {
|
||||
comments: getClient(params.instance).getComments({
|
||||
post_id: Number(params.id),
|
||||
type_: 'All',
|
||||
limit: 25,
|
||||
page: 1,
|
||||
max_depth: 3,
|
||||
max_depth: post.post_view.counts.comments > 100 ? 1 : 3,
|
||||
saved_only: false,
|
||||
sort: 'Hot',
|
||||
auth: get(authData)?.token,
|
||||
|
||||
Reference in new issue
Block a user