不要なクラスを削除

This commit is contained in:
moris 2025-03-05 22:42:01 +09:00
parent 1b252befd7
commit c8a1aa9c17

View file

@ -15,7 +15,7 @@
<div class='contain'> <div class='contain'>
<div class="posts"> <div class="posts">
{#each data.posts as post} {#each data.posts as post}
<article class="post" class:unpublished={!post.metadata.published}> <article class:unpublished={!post.metadata.published}>
<a style='text-decoration: none;' href="../post/{post.postId}" tabindex="0"> <a style='text-decoration: none;' href="../post/{post.postId}" tabindex="0">
<Postgrid id={post.postId} {...post.metadata}></Postgrid> <Postgrid id={post.postId} {...post.metadata}></Postgrid>
</a> </a>
@ -50,7 +50,7 @@
margin-inline: auto; margin-inline: auto;
max-width: 1599px; max-width: 1599px;
} }
.post { article {
border-radius: 8px; border-radius: 8px;
overflow: hidden; overflow: hidden;
box-shadow: 0 0 6px #0001; box-shadow: 0 0 6px #0001;