Skip to content

Commit

Permalink
Fix unreachable content on scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
kimprice committed Sep 23, 2024
1 parent eaa5335 commit fc67e4d
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions teachertool/src/components/styling/CatalogOverlay.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,20 @@
}
}
}
}

/* Styles for iPads (portrait mode) */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
.catalog-list {
height: 80%;
}
}

/* Styles for iPads (landscape mode) */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
.catalog-list {
height: 70%;
}
}
}
}
14 changes: 14 additions & 0 deletions teachertool/src/components/styling/TabPanel.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,17 @@
background-color: var(--pxt-page-background);
color: var(--pxt-page-foreground);
}

/* Styles for iPads (portrait mode) */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
.tabpanel {
height: 80%;
}
}

/* Styles for iPads (landscape mode) */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
.tabpanel {
height: 70%;
}
}

0 comments on commit fc67e4d

Please sign in to comment.