✅ 🐞 Bug Report: The icon in the Menu Cart widget does not vertically align to the center #21844
Closed
5 tasks done
Labels
bug
Indicates a bug with one or multiple components.
component/inline-font-icons
References the Inline Font Icons experimental feature.
integration/woocommerce
References any component related to Elementor Pro’s WooCommerce Builder.
mod/b*
[Temp.] For internal use only.
mod/v*
[Temp.] For internal use only.
mod*
[Temp.] For internal use only.
product/pro
Indicates if the referenced component is part of the Elementor Pro plugin.
release/3.28
[Temp.] References Issues or Discussions related to Elementor and Elementor Pro version v3.28.
solved
Indicates that an Issue has been Solved, or a Feature Request has been Released.
status/merged
Indicates when a Pull Request has been merged to a Release.
type/experiment
Indicates when a topic is related to a Stable or Unstable Feature or Experiment.
type/layout
Indicates when a topic is related to a component’s Layout.
type/styles
Indicates when a topic is related to the styles or design of a component.
widget/button
References the Button widget.
widget/wc/menu-cart
References the WooCommerce Menu Cart widget (Pro) often referred as the Mini Cart.
Milestone
Prerequisites
Description
If we use a custom icon in the Menu cart widget, this icon is not located vertically in the center. In fact, there is an extra space at the bottom. See the image below :
By checking the css codes in this widget, it seems that the icon in this widget has line height by default. By adding line-height:0px; This problem has been resolved.
The problem does not end here.
If we select the svg icon and set the padding of the Menu cart icon to 0, there will always be an extra space at the bottom, which can only be solved by you.
Steps to reproduce
According to the image above, if you set the line height for the icon to 0, the error will be solved.
Please fix this problem. Because it makes us always have problems in alignment with other widgets. thanks
Isolating the problem
System Info
System Info
The text was updated successfully, but these errors were encountered: