Hi
-
Create new role and name it HR (for example) and restrict to a Label
-
Create css rule and put at theme.css
.anvil-role-hr.anvil-label {
display: flex;
flex-direction: row;
}
.anvil-role-hr.anvil-label:before, .anvil-role-hr.anvil-label:after{
content: "";
flex: 1 1;
border-bottom: 2px solid;
margin: auto;
}
.anvil-role-hr.anvil-label:before {
margin-right: 10px
}
.anvil-role-hr.anvil-label:after {
margin-left: 10px
}
Now I can apply role hr to Label
an see result like this