Created
October 20, 2022 11:31
-
-
Save marcusig/47b5392af79493c629e0418a9444e5d7 to your computer and use it in GitHub Desktop.
[Configurator] Make everything scroll on mobile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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