Luigi Donato Posted October 25, 2017 Share Posted October 25, 2017 (edited) Hi.. I've a problem with the scrolling of block cart on much mobile.. When I add 5-6 products on my cart, the don't show to me the scrollbar.. I've added a short script to add a scrollit class where the products is > 2 and this CSS code: .scrollit { padding-right: 20px; max-height: 60vh; overflow-y: scroll; -webkit-overflow-scrolling: touch; } @media (max-width: 480px){ .scrollit { padding-right: 20px; max-height: 40vh; overflow-y: scroll; -webkit-overflow-scrolling: touch; } } This have solved the problem for much mobiles, but not for all.. For example isn't compatible with Firefox and with much Samsung mobile..! Someone can help me? -- EDIT -- If I add: overflow: auto; This works for some phones, but it does not work for others on which it first worked..! Edited October 25, 2017 by LuigiD (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now