Auto-hide Mobile Menus on Tablets in Landscape Mode in OutSystems

Justin James
Mar 14, 2018 · 2 min read
/* Tablet Customizations for Menu */

.tablet.landscape .app-menu-container {
-webkit-transform: translateX(-97%) translateZ(0) !important;
transform: translateX(-97vw) translateZ(0) !important;
width: 100% !important;
}

.tablet.landscape .layout:not(.blank) .screen {
margin-left: 0 !important;
}

.tablet.landscape .app-menu-burger {
display: flex !important;
}

.tablet.landscape .menu {
top: initial !important;
height: initial !important;
width: initial !important;
}

.tablet.landscape .menu--visible .app-menu-container {
-webkit-transform: none !important;
transform: none !important;
}

.tablet.landscape .menu--visible .menu-background {
display: block !important;
}

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade