fix: inconsistent padding with top nav
This commit is contained in:
1 parent
8e6d705f2b
commit
af1e4c8b70
8 files changed
+42
-30
No files matched your search
@@ -123,7 +123,7 @@
|
||||
slot="main"
|
||||
let:style={s}
|
||||
let:class={c}
|
||||
class="p-4 sm:p-6 min-w-0 w-full flex flex-col min-h-full relative {c}"
|
||||
class="p-4 sm:p-6 min-w-0 w-full flex flex-col h-full relative {c}"
|
||||
style={s}
|
||||
class:max-w-6xl={$userSettings.newWidth}
|
||||
id="main"
|
||||
@@ -150,7 +150,7 @@
|
||||
taglines={$site.taglines}
|
||||
admins={$site.admins}
|
||||
version={$site.version}
|
||||
class="!pt-0"
|
||||
class=""
|
||||
/>
|
||||
{:else}
|
||||
<div class="h-64 w-full grid place-items-center">
|
||||
|
||||
+2
-10
@@ -16,6 +16,7 @@
|
||||
import { userSettings } from '$lib/settings.js'
|
||||
import FormattedNumber from '$lib/components/util/FormattedNumber.svelte'
|
||||
import Location from '$lib/components/lemmy/dropdowns/Location.svelte'
|
||||
import Header from '$lib/components/ui/layout/pages/Header.svelte'
|
||||
|
||||
export let data
|
||||
|
||||
@@ -38,16 +39,7 @@
|
||||
|
||||
<div class="flex flex-col gap-4 max-w-full w-full min-w-0">
|
||||
<header>
|
||||
<h1
|
||||
class="text-3xl font-bold flex items-center w-full justify-between flex-wrap"
|
||||
>
|
||||
Frontpage
|
||||
<span class="xl:hidden">
|
||||
<Button on:click={() => (sidebar = !sidebar)} size="square-md">
|
||||
<Icon src={ServerStack} size="16" mini />
|
||||
</Button>
|
||||
</span>
|
||||
</h1>
|
||||
<Header>Frontpage</Header>
|
||||
</header>
|
||||
<div class="flex items-center gap-2">
|
||||
<Location changeDefault selected={data.listingType} />
|
||||
|
||||
@@ -352,7 +352,10 @@ flex-wrap gap-4 sticky top-20 w-full box-border z-20 mt-4"
|
||||
/>
|
||||
{#if post.post_view.counts.comments > 5}
|
||||
<EndPlaceholder>
|
||||
You've viewed {post.post_view.counts.comments} comments.
|
||||
<span class="text-black dark:text-white font-bold">
|
||||
{post.post_view.counts.comments}
|
||||
</span>
|
||||
comments
|
||||
|
||||
<Button
|
||||
color="tertiary"
|
||||
|
||||
Reference in new issue
Block a user