Skip to content

Commit

Permalink
optimize Mobile UI on Meditation
Browse files Browse the repository at this point in the history
  • Loading branch information
hppanpaliya committed Apr 26, 2023
1 parent 9aca5d0 commit 433a3a7
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion src/components/GuidedMeditation/GuidedMeditation.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
text-align: center;
font-family: Arial, sans-serif;
background-color: #f5f5f5;
border-radius: 10px;
border-radius: 0px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
background-position: center;
background-repeat: no-repeat;
Expand All @@ -24,6 +24,19 @@
.guided-meditation-page {
overflow: hidden;
}
@media (min-width: 600px) {
/* Styles for screens wider than 600px (desktop) */
.guided-meditation-page {
height: calc(100svh - 64px);
}
}

@media (max-width: 599px) {
/* Styles for screens narrower than 600px (mobile) */
.guided-meditation-page {
height: calc(100svh - 50px);
}
}

.stylish-select {
font-family: "Roboto", sans-serif;
Expand Down

0 comments on commit 433a3a7

Please sign in to comment.