add: 非公開投稿を強調
This commit is contained in:
parent
6bdc42257c
commit
37ba0d0b23
@ -7,7 +7,7 @@
|
||||
<div class='contain'>
|
||||
<div class="posts">
|
||||
{#each data.posts as post}
|
||||
<div class="post" class:published={!post.metadata.published}>
|
||||
<div class="post" class:unpublished={!post.metadata.published}>
|
||||
<a style='text-decoration: none;' href="../post/{post.postId}" tabindex="0">
|
||||
<Postgrid id={post.postId} {...post.metadata}></Postgrid>
|
||||
</a>
|
||||
@ -47,7 +47,7 @@
|
||||
overflow: hidden;
|
||||
box-shadow: 0 0 6px #0001;
|
||||
|
||||
&.published {
|
||||
&.unpublished {
|
||||
border: solid red 3px;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user