Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Cart counter in <span class="badge"> #138
I wrapped the product counter of the cart buttons (minibasket.tpl and menubasket.tpl) in a span tag with the class of "badge", so it can be styled with CSS. This way, the cart counter is now analogous to the counter of the servicemenu button.
Additionally, I removed a command from theme.less (and thus styles.min.css) that set the padding of the cart button to zero. Maybe this was a relic of the old SVG icon version, but with the current icon, it created an uneven spacing between the buttons, and it made the hit area of the cart button somewhat small.