With custom margins
The component accepts a number for margin bottom from 0
to 9
(0px
to 60px
) using the GOV.UK Frontend spacing scale. It defaults to having margin level 3
on top and bottom.
How it looks (preview)
How to call this example
<%= render "govuk_publishing_components/components/print_link", {
margin_top: 0,
margin_bottom: 4
} %>