added desktop styles

This commit is contained in:
2024-09-21 21:29:29 +03:00
parent 5a8f21bfb9
commit e1d7147431
12 changed files with 362 additions and 27 deletions

View File

@@ -388,7 +388,7 @@ const clearEditorContent = () => {
return (
<div style={{
height: isMobile ? '100%' : '100vh',
height: isMobile ? '100%' : '100%',
display: 'flex',
flexDirection: 'column',
width: '100%',

View File

@@ -488,7 +488,7 @@ export const GroupAnnouncements = ({
<div
style={{
// reference to change height
height: isMobile ? `calc(${rootHeight} - 127px` : "100vh",
height: isMobile ? `calc(${rootHeight} - 127px` : "calc(100vh - 70px)",
display: "flex",
flexDirection: "column",
width: "100%",
@@ -514,7 +514,7 @@ export const GroupAnnouncements = ({
<div
style={{
// reference to change height
height: isMobile ? `calc(${rootHeight} - 127px` : "100vh",
height: isMobile ? `calc(${rootHeight} - 127px` : "calc(100vh - 70px)",
display: "flex",
flexDirection: "column",
width: "100%",

View File

@@ -40,7 +40,7 @@ export const GroupForum = ({
<div
style={{
// reference to change height
height: isMobile ? `calc(${rootHeight} - 127px` : "100vh",
height: isMobile ? `calc(${rootHeight} - 127px` : "calc(100vh - 70px)",
display: "flex",
flexDirection: "column",
width: "100%",