Remove break/line from page in Portal

AdrianHolm
Tera Guru

Good afternoon,

Quick question; How to I remove the break/line in this page? Can't see any logical difference between index vs. sc_landing. See picture below (index first, sc_landing second);
find_real_file.pngfind_real_file.png

AAs you can see, there is a minor gap on the second picture. Any idea how to remove this so it becomes similar to the first picture?

BBest regards,
AAdrian Holmestrand 

1 ACCEPTED SOLUTION

shloke04
Kilo Patron

Hi,

Please try the below approach and see if this works for you:

1) Navigate to your Page where this space is happening.

2) Now define a CSS and say define it as below:

.adjustheight{
  height:300px;
  margin-top:-10px;
}

find_real_file.png

Now once this is applied you need to define the class in the container as per your instance config say define it in the container which contains your search as for example shown below:

find_real_file.png

See if this helps you.

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

View solution in original post

2 REPLIES 2

Rajdeep3
ServiceNow Employee
ServiceNow Employee

Hi,

You can check if there is any CSS class which is inserting the extra line break.

1. On the portal page you can find containers in the related list of the page form view. Open the containers in form view and check for any CSS class applied.

2. Each container has rows in the related list section. Open the rows in form view and check for any CSS class applied.

3. Any CSS class applied in above two points can found in the Theme associated to the portal.find_real_file.png

shloke04
Kilo Patron

Hi,

Please try the below approach and see if this works for you:

1) Navigate to your Page where this space is happening.

2) Now define a CSS and say define it as below:

.adjustheight{
  height:300px;
  margin-top:-10px;
}

find_real_file.png

Now once this is applied you need to define the class in the container as per your instance config say define it in the container which contains your search as for example shown below:

find_real_file.png

See if this helps you.

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke