style: 修复样式异常
This commit is contained in:
@@ -57,6 +57,7 @@ const { data: tags } =
|
||||
|
||||
<style>
|
||||
.sidebar {
|
||||
flex-shrink: 0;
|
||||
width: 300px;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
|
||||
@@ -25,15 +25,17 @@ const {posts, page, totalPage} = Astro.props;
|
||||
|
||||
<style>
|
||||
.container {
|
||||
flex: 1;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
gap: 28px;
|
||||
}
|
||||
|
||||
.post-container{
|
||||
.post-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 32px;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
@media (max-width: 860px) {
|
||||
|
||||
Reference in New Issue
Block a user