Documentation
Rails

.rail

A rail is a panel that will sit off to the side of a container and can be useful for displaying groups of information to the user or presenting tasks. It is fixed at 325px in width and can anchor to the left/right side of the view, or anchor closer to the container. When using rails, the parent element should be a row or the rails and container will stack vertically instead of side by side.

Adding a left and right rail with a standard container looks like: Rails

You can use any number of rails in any order: Rails

Compatible Child Blocks

  • .card
  • .row
  • OnBase Controls

Compatible Adjusters

AdjusterTargetDescription
.align-stretchChildrenWill cause all children to expand to the full height of the block
.align-endChildrenAligns children to the vertical end of the block
.align-centerChildrenAligns children to the vertical center of the block
.align-baselineChildrenAligns children to the vertical baseline
.justify-stretchChildrenWill cause all children to expand and use the remaining free space in the width of the block
.justify-endChildrenAligns children to the vertical end of the block in order
.justify-centerChildrenAligns children to the vertical center of the block in order
.justify-baselineChildrenAligns children to the vertical baseline in order
.gap-noneChildrenRemoves the gap between child items
.gap-smallChildrenCreates a small gap between child elements
.gap-mediumChildrenCreates a medium gap between child elements
.gap-largeChildrenCreates a large gap between child elements
.pad-noneSelfRemoves all padding from itself
.pad-smallSelfAdd a small padding around the inside border of itself
.pad-mediumSelfAdd a medium padding around the inside border of itself
.pad-largeSelfAdd a large padding around the inside border of itself