diff --git a/teachertool/src/components/styling/CatalogOverlay.module.scss b/teachertool/src/components/styling/CatalogOverlay.module.scss index 66c5b8ff6acf..8ddaf21a4195 100644 --- a/teachertool/src/components/styling/CatalogOverlay.module.scss +++ b/teachertool/src/components/styling/CatalogOverlay.module.scss @@ -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%; + } } } } diff --git a/teachertool/src/components/styling/TabPanel.module.scss b/teachertool/src/components/styling/TabPanel.module.scss index 75e00f805d82..75db00c8e541 100644 --- a/teachertool/src/components/styling/TabPanel.module.scss +++ b/teachertool/src/components/styling/TabPanel.module.scss @@ -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%; + } +} \ No newline at end of file