Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Break line on service catalog form.

laxmanboddu
Giga Contributor

Hi All,

I have created break line on service catalog form to separate the sections. Now I have to make the that break line to thick/Dark could you please let me know how I can do that.

is there any other way to give the dark line to separate the sections except macro variable.

Thanks,

Laxman Boddu

1 REPLY 1

ark6
Mega Guru

Hi Laxman,



There is no OOB way to modify the behavior of a break except a DOM manipulation.



However, I would think the other way around.



1. Create a macro/widget with the below code(By default OOB break is an Hr element so I am creating my own hr element)



<html>


<head>


<style>


hr {


      display: block;


      margin-top: 0.5em;


      margin-bottom: 0.5em;


      margin-left: auto;


      margin-right: auto;


      border-style: inset;


      border-width: 4px;


}


</style>


</head>


<body>


<hr>


</body>


</html>



2. Add it as a variable in your catalog item.



Please mark correct or helpful if it solves your issue