Help adjusting Width of Annotation Type- Info Box Blue

kw11
Tera Contributor

Greetings,

How do you decrease the width of the Annotation Info Box Blue by chance? Its to long and I want to condense the box to make more uniform. 

kw11_0-1667569185713.png

kw11_1-1667569243378.png

 

 

6 REPLIES 6

Mike_R
Kilo Patron
Kilo Patron

You can create a new annotation type

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0870012

  1.  Navigate to the sys_ui_annotation_type table (Form Annotation Types)
  2. Click the 'New' UI Action
  3. Name it appropriately, e.g. 'Yellow info box'
  4. Input the following into the Style field (as an example):
    background-color: yellow;
  5. Save the record
  6. Navigate to a Form Layout and insert a new Annotation, using your new 'Yellow info box' as the type, and input some text.
  7. Save the Form Layout and test.

kw11
Tera Contributor

Thank you for the info. All I want to do is decrease the width of the box as its to long for my form

The instructions go through that. Create a new form annotation type and then you can set the width in the style section.

 

Or if you want to modify the width for all annotations that use info box blue, you can modify that here

instanceName.service-now.com/nav_to.do?uri=sys_ui_annotation_type.do?sys_id=753f88a80f930000b12e6903cfe01206

 

Example:

 

Mike_R_0-1667571136312.png

 

kw11
Tera Contributor

I was able to condense it through your instructions but it took away center alignment. 

 

 

kw11_0-1667571988484.png

kw11_1-1667572017619.png