-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add govuk-section-break to core #483
Conversation
@@ -48,5 +48,10 @@ | |||
a { | |||
@extend .govuk-link; | |||
} | |||
|
|||
hr { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this use govuk-section-break__visible ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we also add an example to the prose page to show this in use?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
17edfaf
to
ed4fa6f
Compare
After update, this looks technically good to me. Happy to approve if no one else wants to raise any questions. |
This looks good to me too. Have just updated Changelog. @alex-ju if you're happy with the changelog could you approve 🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Sometimes there is a need to visually separate parts of a page on top of the existing typographic hierarchy.
This class is added to an
<hr>
, adds margin (xl, l and m).There is also an option to make the
<hr>
border visible or invisible.##Examples
Not visible
###Visible
Example usage
The section below the Start button on a start page is achieved by adding margin to the Start button.
This conceptually feels like a new section of the page.
Related
How this might work with
<section>
As part of https://trello.com/c/8LRu4psv/515-add-styling-for-horizontal-rules