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",
data.type,
{ ["liked"]: hasLiked },
{ ["noHide"]: !expansibleActions },
{ ["noHide"]: window.isMobile || !expansibleActions },
{ ["fullmode"]: fullmode },
)}
context-menu={"postCard-context"}

View File

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