About this question
am using the below line of code to show the icon but instead it is showing as a dot. Tried on chrome and edge.
am using the below line of code to show the icon but instead it is showing as a dot. Tried on chrome and edge.
Log in to share your answer and help other learners.
Log in to answerBest Answer · By JanBask Business Analyst Expert
Answered on Jul 10, 2021
The markup within which you are showing the salesforce lightning icons has had a (max) height set for it ; by enlarging the image you can see that you are seeing a slice through, about halfway up the icon:
You need to examine the markup around where you insert your image and check what CSS is being applied.
Perry Burt Latest answer
Answered on Jun 18, 2024
By zooming in on the image, you can see that you're seeing a slice, about half an icon 8 ball pool
You need to check the markup around where you insert your images and check what CSS is being applied.
Answered on Aug 10, 2023
Hey everyone
Ben PHILLIPS, I totally feel your frustration with those utility icons misbehaving. It can be such a headache when your code doesn't play nice with your expectations. From what you've described, it sounds like a CSS issue. The fact that you've tested it on both Chrome and Edge indicates it might not be browser-specific.
The problem you're encountering with the utility icon appearing as a dot usually stems from conflicting styles or improper sizing within the parent container. When you mention "a dot," it's often a sign that the icon is getting cut off or scaled down unexpectedly.
So, here's what I'd recommend: Inspect the CSS around the container where you're placing your icon. Look for any height restrictions, max-height settings, or overflow properties that might be affecting the display. Try adjusting these settings or overriding them to ensure the icon can display properly.
I've faced a similar issue in the past, and it turned out to be an unexpected CSS conflict. Once I sorted that out, the icons displayed beautifully. Hope this advice helps you troubleshoot and get those icons shining as they should!
Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.
Most-read guides across JanBask
Common Business Analyst interview questions, answered
Guides, tips and career advice on Business Analyst from JanBask experts.
Business Analyst Business Analyst Skills for Career Growth & Job Success
Learn the essential business analyst skills ranging from SQL, data analysis, and BI tools to communication, leadership, and…
Business Analyst Business Analyst Job Description 2025: Key Responsibilities
Explore a complete business analyst job description. Understand key roles, job responsibilities, skills required and start or…
Business Analyst What is a Business Analyst? Definition, Functions & Real-World Relevance
A Business Analyst is a key professional who analyzes business needs, identifies problems, and proposes effective solutions to…
Business Analyst Top 11 Business Analytics Tools to Know About In 2025
Some of the most popular business analytics tools used by business analytics professionals are Blueprint, Case Spec, Axure, Bit…