Skip to content

Commit

Permalink
join screen responsive issue resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
BhumiSalat committed Jul 7, 2022
1 parent 4b37070 commit 0533941
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions src/components/JoinScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -444,8 +444,11 @@ export default function JoinMeeting({
style={{
display: "flex",
flex: 1,
flexDirection:
meetingUrl === "" || meetingTitle === "" ? "row" : "column",
flexDirection: isXStoSM
? "column"
: meetingUrl === "" || meetingTitle === ""
? "row"
: "column",
justifyContent: "center",
alignItems: "center",
}}
Expand All @@ -456,7 +459,11 @@ export default function JoinMeeting({
style={{
display: "flex",
flex: isSMOnly ? 0 : 1,
flexDirection: meetingUrl || meetingTitle ? "row" : "column",
flexDirection: isXStoSM
? "column"
: meetingUrl || meetingTitle
? "row"
: "column",
alignItems: "center",
justifyContent: "center",
}}
Expand Down Expand Up @@ -685,7 +692,7 @@ export default function JoinMeeting({
<Grid
item
xs={12}
md={meetingTitle || meetingUrl ? 5 : 6}
md={isXStoSM ? 5 : meetingTitle || meetingUrl ? 5 : 6}
style={{
width: "100%",
display: "flex",
Expand Down

0 comments on commit 0533941

Please sign in to comment.