β π π Feature Request: Icon list: Icon default alignment (Duplicate of #16056) - [ED-9265] #18420
Closed
2 tasks done
Labels
bug
Indicates a bug with one or multiple components.
duplicate
Indicates when an Issue or a Discussion is a duplicate of another Issue or Discussion.
mod*
[Temp.] For internal use only.
request/enhancement
Indicates an Enhancement Request for an existing feature.
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/layout
Indicates when a topic is related to a componentβs Layout.
widget/icon-list
References the Icon List widget.
Milestone
Prerequisites
What problem is your feature request going to solve? Please describe.
Since few versions, the component Icon list align the item icon to the center by default. I presume it was a visual criteria, but following the UX reading order conventions, the correct aligment to an icon (or another symbol) should be at the top.
Rather, I don't consider it a bug but a bad default behaviour. It should be on top by defaul but it should be customizable, because sometimes we use the component with visual purposes.
Describe the solution you'd like
It could be resolved with a new setting in the design panel called icon alignment, setting for instance a new CSS class like
.icon-center
or.icon-bottom
to setalign-items: center
oralign-items: start
.Since I noticed the change, I coded a CSS snippet solution quickly that I place in every new elementor website I made. I hope it can help:
Describe alternatives you've considered
As I said, I presume the icon centering criteria was based on visual purposes. I have think about why we do that and what other alternatives can we found in the component library. The most similar component to this use case is Icon Box / left align icon, with richer settings as title plus description or icon style. But when you have some items to place with the Icon box component it can be heavy to maintain because is not reliable at all.
Maybe a new component between icon list and list icon with left align components should solve this. This new one could have some features from Icon box like optional icon customizations in the design panel and keep it as simple as an icon list in content panel.
Or maybe the Icon list component is correct and we need a new one designed for just reading and listing (not visual) purposes.
Additional context
No response
The text was updated successfully, but these errors were encountered: