Skip to content

Instantly share code, notes, and snippets.

@marcusig
Created October 20, 2022 11:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcusig/47b5392af79493c629e0418a9444e5d7 to your computer and use it in GitHub Desktop.
Save marcusig/47b5392af79493c629e0418a9444e5d7 to your computer and use it in GitHub Desktop.
[Configurator] Make everything scroll on mobile
@media (max-width: 660px) {
.mkl_pc.opened .mkl_pc_container {
overflow: auto;
bottom: 4em;
}
.mkl_pc.opened .mkl_pc_container .mkl_pc_viewer {
position: relative;
height: calc(50vh - 60px);
bottom: auto;
top: 0;
margin-top: 40px;
}
.mkl_pc .mkl_pc_container .mkl_pc_toolbar {
position: relative;
height: auto;
top: auto;
bottom: auto;
transform: none;
}
.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices {
position: relative
}
.mkl_pc .mkl_pc_container footer {
position: fixed;
bottom: 0;
background: #FFF;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment