HTML hr element display centered with both ends padded #12618
-
When using foundation XY version 6.8.0 the HTML hr element displays it self centered while both the left and right ends of the hr line are shorten (padded). Is this a bug or what? I would like to see the hr line running the full width of the cell without any spacing at both ends of the line as in the flex version. |
Beta Was this translation helpful? Give feedback.
Answered by
searchstation
Mar 10, 2024
Replies: 1 comment 1 reply
-
Two reasons for this.
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
rocbar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Two reasons for this.
is your hr tag inside a grid-container class. If so grid-container has padding. Experiment will adding .full or .fluid to your grid-container.
hr tag I believe has a max width applied. If not inside a grid-container, try adding .full, .fluid, or .expanded to the hr tag.