💄 Fix some style issue
This commit is contained in:
parent
4d618a91fe
commit
6edee6c048
@ -76,7 +76,11 @@ export default function PostItem(props: {
|
|||||||
</For>
|
</For>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<Show when={props.post.attachments?.length > 0}>
|
||||||
|
<div class="pb-5">
|
||||||
<PostAttachments attachments={props.post.attachments ?? []} />
|
<PostAttachments attachments={props.post.attachments ?? []} />
|
||||||
|
</div>
|
||||||
|
</Show>
|
||||||
|
|
||||||
<Show when={!props.noRelated && props.post.repost_to}>
|
<Show when={!props.noRelated && props.post.repost_to}>
|
||||||
<p class="text-xs mt-3 mb-2">
|
<p class="text-xs mt-3 mb-2">
|
||||||
@ -174,7 +178,7 @@ export default function PostItem(props: {
|
|||||||
<div class="post-item">
|
<div class="post-item">
|
||||||
{element}
|
{element}
|
||||||
</div>
|
</div>
|
||||||
)
|
);
|
||||||
} else {
|
} else {
|
||||||
return (
|
return (
|
||||||
<a class="post-item" href={`/posts/${props.post.id}`}>
|
<a class="post-item" href={`/posts/${props.post.id}`}>
|
||||||
|
@ -25,7 +25,7 @@ export default function Navbar() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div class="navbar bg-base-100 shadow-md px-5 z-10 fixed top-0">
|
<div class="navbar bg-base-100 shadow-md px-5 z-[100] fixed top-0">
|
||||||
<div class="navbar-start">
|
<div class="navbar-start">
|
||||||
<div class="dropdown">
|
<div class="dropdown">
|
||||||
<div tabIndex={0} role="button" class="btn btn-ghost lg:hidden">
|
<div tabIndex={0} role="button" class="btn btn-ghost lg:hidden">
|
||||||
|
Loading…
Reference in New Issue
Block a user