How to remove white space from the widget

Rani11
Tera Expert

Unable to remove extra space from widget text. Its happening for only few items which is having (/()).If anyone knows the it please help me.

OOB Widget Name : Recent & Popular items

 

find_real_file.png

1 ACCEPTED SOLUTION

Rani11
Tera Expert

Hi All,

This was happened due to text align: justify in CSS. And also in OOB we have some standard container length and some restrictions. 

So to resolve my issue i have increased my class="col-sm-6 col-md-4" and its adjusted the container columns. And also i have removed " text align: justify"from my CSS and added  "text align: left ". Then my issue got resolved

View solution in original post

3 REPLIES 3

Service_RNow
Mega Sage

Hi Keerthi,

Try adding this CSS rule to the HTML element that's displaying those fields:

white-space: pre-wrap;

https://developer.mozilla.org/en-US/docs/Web/CSS/white-space

Mark Correct if this solves your issue and also mark Helpful if you find my response worthy.

Thanks,

 

Sumanth16
Kilo Patron

Rani11
Tera Expert

Hi All,

This was happened due to text align: justify in CSS. And also in OOB we have some standard container length and some restrictions. 

So to resolve my issue i have increased my class="col-sm-6 col-md-4" and its adjusted the container columns. And also i have removed " text align: justify"from my CSS and added  "text align: left ". Then my issue got resolved