mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-04-23 19:37:52 +00:00
fix direct group bug when toggle to apps
This commit is contained in:
parent
e02ccd0edf
commit
8e70e29b13
@ -2285,13 +2285,17 @@ export const Group = ({
|
|||||||
<Box
|
<Box
|
||||||
sx={{
|
sx={{
|
||||||
position: "absolute",
|
position: "absolute",
|
||||||
left: "0px",
|
|
||||||
right: "0px",
|
right: !(desktopViewMode === 'chat') ? "unset" : "0px",
|
||||||
bottom: "0px",
|
bottom: !(desktopViewMode === 'chat') ? "unset" : "0px",
|
||||||
top: "0px",
|
top: !(desktopViewMode === 'chat') ? "unset" : "0px",
|
||||||
background: "#27282c",
|
background: "#27282c",
|
||||||
zIndex: 5,
|
zIndex: 5,
|
||||||
height: isMobile && `calc(${rootHeight} - 45px)`,
|
height: isMobile && `calc(${rootHeight} - 45px)`,
|
||||||
|
opacity: !(desktopViewMode === 'chat') ? 0 : 1,
|
||||||
|
|
||||||
|
left: !(desktopViewMode === 'chat') ? '-100000px' : '0px',
|
||||||
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<ChatDirect
|
<ChatDirect
|
||||||
@ -2632,13 +2636,15 @@ export const Group = ({
|
|||||||
<Box
|
<Box
|
||||||
sx={{
|
sx={{
|
||||||
position: "absolute",
|
position: "absolute",
|
||||||
left: "0px",
|
right: !(desktopViewMode === 'chat') ? "unset" : "0px",
|
||||||
right: "0px",
|
bottom: !(desktopViewMode === 'chat') ? "unset" : "0px",
|
||||||
bottom: "0px",
|
top: !(desktopViewMode === 'chat') ? "unset" : "0px",
|
||||||
top: "0px",
|
|
||||||
background: "#27282c",
|
background: "#27282c",
|
||||||
zIndex: 5,
|
zIndex: 5,
|
||||||
height: isMobile && `calc(${rootHeight} - 45px)`,
|
height: isMobile && `calc(${rootHeight} - 45px)`,
|
||||||
|
opacity: !(desktopViewMode === 'chat') ? 0 : 1,
|
||||||
|
|
||||||
|
left: !(desktopViewMode === 'chat') ? '-100000px' : '0px',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Box
|
<Box
|
||||||
|
Loading…
x
Reference in New Issue
Block a user