Last active
October 12, 2021 13:04
-
-
Save marcusig/fb9a1f17329a2de0089a036322c8ce64 to your computer and use it in GitHub Desktop.
Tweaks for the inline configurator, on mobile: Show the add to cart button and price at all times, and make things relative and take automatic hight.
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 .mkl_pc_container .mkl-pc-show-form { | |
display: none; | |
} | |
.mkl_pc .mkl_pc_container footer .form.form-cart { | |
position: relative; | |
padding: 0; | |
background: transparent; | |
box-shadow: none; | |
border-radius: 0; | |
bottom: auto; | |
width: auto; | |
flex-direction: row; | |
align-items: center; | |
left: auto; | |
padding-right: 5px; | |
} | |
.mkl_pc .mkl_pc_container footer .form.form-cart .pc_configurator_form button { | |
margin: 0; | |
} | |
.mkl_pc .mkl_pc_container .form.form-cart .pc-total-price { | |
margin: 0; | |
margin-right: 5px; | |
} | |
body.configurator_is_inline .mkl_pc { | |
height: auto; | |
} | |
body.configurator_is_inline .mkl_pc .mkl_pc_container { | |
position: relative; | |
} | |
.mkl_pc .mkl_pc_container .mkl_pc_viewer { | |
position: relative; | |
height: 300px; | |
} | |
.mkl_pc .mkl_pc_container .mkl_pc_toolbar { | |
position: relative; | |
transform: none; | |
} | |
.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices { | |
position: relative; | |
padding: 1em; | |
box-shadow: none; | |
} | |
.mkl_pc .mkl_pc_container footer { | |
position: relative; | |
bottom: auto; | |
top: auto; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment