Knowledge article format is different in native UI and Enduser-Portal

KatjaS
Tera Contributor

Hi dear community,
I hope anybody can help me with that question.

 

I sometimes notice that an article looks much better and more professional in the native UI (preview) as if an end user opens it via the portal.

I have attached a Word document with an examples to show you what I mean in detail. It is very time-consuming to format an article in a way that it looks as good to an end user as it does in the preview.

 

Is there a way to configure ServiceNow to make the preview and the end user view identical for an article?

 

Thank you in advance for your answers!

1 REPLY 1

KatjaS
Tera Contributor

Hi everybody,

I have found a solution.

As usual, it's a question of the HTML code used! Since I'm not an HTML expert, it always takes me a long time to find the right tags and formatting parameters. But the portal is also very sensitive in its interpretation!

The solution to this problem is actually quite simple. The problem is the line height, which is artificially increased by the list, and the list itself is not vertically centred. The other columns are already correctly centred in relation to the line height.

Unfortunately, it is not enough to specify that the individual list elements should not have any spacing between them; you also have to define that the entire list should not have any spacing above or below it (s. attached screenshot).

Then the line is not artificially increased and everything is centred as expected.

 

Thank you!