投稿一覧にタイトルを追加
This commit is contained in:
parent
9c1bc7db7c
commit
63efa7136a
1 changed files with 4 additions and 3 deletions
|
@ -13,6 +13,7 @@
|
|||
|
||||
|
||||
<div class='contain'>
|
||||
<h1 style="margin-top:0; font-weight:500;">Posts <span style="font-size:1.6rem; opacity:0.7">#page{data.pageNo}</span></h1>
|
||||
<div class="posts">
|
||||
{#each data.posts as post}
|
||||
<article class:unpublished={!post.metadata.published}>
|
||||
|
@ -38,7 +39,9 @@
|
|||
|
||||
<style>
|
||||
.contain {
|
||||
margin: 3vw;
|
||||
margin-inline: auto;
|
||||
padding: 3vw;
|
||||
max-width: 1599px;
|
||||
}
|
||||
|
||||
.posts {
|
||||
|
@ -47,8 +50,6 @@
|
|||
grid-template-rows: max-content;
|
||||
gap: 25px;
|
||||
justify-content: center;
|
||||
margin-inline: auto;
|
||||
max-width: 1599px;
|
||||
}
|
||||
article {
|
||||
border-radius: 8px;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue