function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Patrick KaiserPatrick Kaiser 

Formula Field Lightning Experience List View

Hi,

i want to display an image from a formular field, but in all Lex list views the given height of the image gets ignored. The following css code kills all my attemps to display the image in his default size.
.forceBaseListView tbody td img {
    height: 2.25rem;
    display: inline-block;
    vertical-align: middle;
}

I've made a simple test with an example from trailhead. Is there any option to override 'height: 2.25rem;'? Since Spring'16 Formula Fileds should be supported in list views, but it dosen't help if the images get resized so bad. 
 
CASE(Lead_Quality_Helper__c,
1, IMAGE("/img/samples/stars_100.gif", "1 star" ,16,93),
2, IMAGE("/img/samples/stars_200.gif", "2 stars",16,93),
3, IMAGE("/img/samples/stars_300.gif", "3 stars",16,93),
4, IMAGE("/img/samples/stars_400.gif", "4 stars",16,93),
5, IMAGE("/img/samples/stars_500.gif", "5 stars",16,93),
   IMAGE("/img/samples/stars_000.gif", "0 stars",16,93))
ResultingHTMLCode