improve postCard for mobile

This commit is contained in:
SrGooglo 2022-11-24 15:01:50 +00:00
parent 752df4f217
commit ccd020d4b3
2 changed files with 9 additions and 1 deletions

View File

@ -139,7 +139,7 @@ export default React.memo(({
"postCard", "postCard",
data.type, data.type,
{ ["liked"]: hasLiked }, { ["liked"]: hasLiked },
{ ["noHide"]: !expansibleActions }, { ["noHide"]: window.isMobile || !expansibleActions },
{ ["fullmode"]: fullmode }, { ["fullmode"]: fullmode },
)} )}
context-menu={"postCard-context"} context-menu={"postCard-context"}

View File

@ -81,5 +81,13 @@
height: 40vh; height: 40vh;
} }
} }
.postCard {
.post_actionsWrapper {
.actions {
width: 100%;
}
}
}
} }
} }