fix width's on post pages

This commit is contained in:
srgooglo 2022-10-11 13:31:10 +02:00
parent 07071e85ea
commit 11972ee2e7
2 changed files with 8 additions and 6 deletions

View File

@ -33,7 +33,7 @@ export default (props) => {
return <antd.Skeleton active />
}
return <div className="fullPost">
return <div className="postPage">
<div className="postWrapper">
<PostCard data={data} fullmode />
</div>

View File

@ -1,4 +1,4 @@
.fullPost {
.postPage {
display: flex;
flex-direction: row;
@ -8,17 +8,19 @@
overflow: hidden;
.postWrapper {
height: 100vh;
width: 100%;
margin: 0 10px;
width: 100%;
height: 100%;
max-width: 70vw;
}
.commentsWrapper {
max-width: 600px;
min-width: 400px;
width: 40%;
width: 100%;
height: 100vh;
overflow: scroll;