-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Icon Alignment - Font Awesome 5 #8539
Copy link
Copy link
Closed
Labels
compatibility/3rd-partyIndicates a compatibility problem with a 3rd-party plugin or theme.Indicates a compatibility problem with a 3rd-party plugin or theme.status/mergedIndicates when a Pull Request has been merged to a Release.Indicates when a Pull Request has been merged to a Release.
Milestone
Metadata
Metadata
Assignees
Labels
compatibility/3rd-partyIndicates a compatibility problem with a 3rd-party plugin or theme.Indicates a compatibility problem with a 3rd-party plugin or theme.status/mergedIndicates when a Pull Request has been merged to a Release.Indicates when a Pull Request has been merged to a Release.
Prerequisites
Description
Icon alignment overlaps the border of the column.

Ideally it should look like the example below:

Steps to reproduce
Just use the widget icon.
How to solve
Can be easily corrected with CSS.
But it is necessary to add another class to the icon, corresponding to the alignment, because the code below solves the problem in the left alignment. While aligning to the right is required to use the "right" instead of the "left".
.elementor-icon i:before, .elementor-icon svg:before { position: absolute; left: 0; -webkit-transform: translateX(0%); -ms-transform: translateX(0%); transform: translateX(0%); }Isolating the problem
Environment
System Info
``` ```