Skip to content

Commit

Permalink
Fix: remove navbar and footer while in consultation
Browse files Browse the repository at this point in the history
  • Loading branch information
georgipavlov-7DIGIT committed Nov 7, 2024
1 parent 0055090 commit 8392599
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/blocks/VideoRoom/video-room.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
// width: calc(100vw - 50rem);
width: 100%;
border-radius: 2.5rem;
// max-height: 80vh;
max-height: calc(100vh - 15rem);
max-height: 95vh;
// max-height: calc(100vh - 15rem);
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/pages/Consultation/Consultation.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -483,8 +483,8 @@ export const Consultation = () => {
/>
) : (
<Page
showNavbar={width < 768 ? false : true}
showFooter={width < 768 ? false : true}
showNavbar={false}
showFooter={false}
showEmergencyButton={false}
classes="page__consultation"
showGoBackArrow={false}
Expand Down
6 changes: 3 additions & 3 deletions src/pages/Consultation/consultation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
max-height: 100vh;

@media screen and (min-width: $screen-md) {
padding-top: 9.6rem;
padding-top: 1.4rem;
}

&__container {
Expand Down Expand Up @@ -40,7 +40,7 @@

@media screen and (min-width: 1024px) {
padding-bottom: 0;
height: 70vh;
height: 82vh;
overflow-y: auto;
}

Expand All @@ -50,7 +50,7 @@

&--show-options {
@media screen and (min-width: 1024px) {
height: calc(70vh - 15rem) !important;
height: calc(82vh - 15rem) !important;
margin-top: 20rem;
}
}
Expand Down

0 comments on commit 8392599

Please sign in to comment.