-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Button icon alignment #561
Comments
You can fix it with some CSS like this: But I think it will cause other problems, so we need some time to figure out how to fix it in the core |
Thanks for looking into it. |
If you move the button text <span into the <span containing the FA icon and remove the display:inline-block from the button text class that will solve your problem. See code change below, obviously the class names would need to be amended so as to not confuse people,
and remove from class like below:
|
Has there been any more progress on this? This issue is still present in the current version. |
+1 |
More than 2 years and the problem remains. Did the Elementor team give up on this problem? |
I am organizing the 3 year party of this problem. Come'on, is it so complicated to solve a responsive alignment problem on a button with icon? I have no idea what risks this can bring to other buttons, but in all projects I use the code below to make it less worse: @arielk @bainternet @shilo-ey Am I asking too much to fix such a known old problem? |
Use css flex to align and order button icon (fixes #561)
If an icon is added to a button, it should stay aligned with the text. If the button is getting too small, then the line should wrap rather than pushing the icon out of alignment.
The text was updated successfully, but these errors were encountered: