Ory Elements is a component library that makes building login, registration and account pages for Ory a breeze. Check out the components library on Chromatic https://www.chromatic.com/library?appId=63b58e306cfd32348fa48d50
Fixes the <hr> and <img> tags when using a global css override to reset browser styling.
The <hr> tag will now have margin: auto on all sides, pushing it to be centered in the element and removing excess space top and bottom. This will cause a change in the Ory components which will reduce their overall height. It is a small change and shouldn't have much impact on the overall look.
[ ] I confirm that this pull request does not address a security vulnerability.
If this pull request addresses a security vulnerability,
I confirm that I got green light (please contact security@ory.sh) from the maintainers to push the changes.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] I have added necessary documentation within the code base (if appropriate).
Fixes the
<hr>
and<img>
tags when using a global css override to reset browser styling.The
<hr>
tag will now havemargin: auto
on all sides, pushing it to be centered in the element and removing excess space top and bottom. This will cause a change in the Ory components which will reduce their overall height. It is a small change and shouldn't have much impact on the overall look.Related Issue or Design Document
Checklist
Further comments