#45912 closed enhancement (fixed)
Twenty Nineteen: Horizontal rule is very narrow
Reported by: | laurelfulford | Owned by: | ianbelanger |
---|---|---|---|
Milestone: | 5.5 | Priority: | normal |
Severity: | normal | Version: | 5.0 |
Component: | Bundled Theme | Keywords: | has-screenshots good-first-bug has-patch |
Focuses: | css | Cc: |
Description (last modified by )
Originally reported by @joyously in the Twenty Nineteen GitHub repo:
The <hr>
tag outputs a line that is very narrow (max-width: 2.25em
), and seems like it would be an unexpected style in legacy content.
It's matches the current default style for the separator block, but it's possible to change that style to be full-width, or centred dots; for the <hr>
tag it can't be changed.
For the purpose of preserving the expected visual appearance in legacy content, let's switch its appearance with that of the wide
separator block style.
Original ticket here: https://github.com/WordPress/twentynineteen/issues/83
Attachments (7)
Change History (25)
#2
@
6 years ago
Howdy @laurelfulford 👋
I’ld love to provide a patch for this issue the next days! 😉
#3
@
6 years ago
- Milestone changed from Awaiting Review to Future Release
- Owner set to nielslange
- Status changed from new to assigned
Thanks @nielslange!
I'll assign this to you for now, so it's known that it's "taken" :)
#8
@
5 years ago
- Focuses css added
- Keywords commit added
- Milestone changed from Future Release to 5.5
- Version set to 5.0
#9
@
4 years ago
16 months later, I tested the patch today and apart from some line ending issues my end, this patch still seems to work well. @kjellr 's screenshots are still accurate.
#10
@
4 years ago
- Keywords needs-refresh added; commit removed
The most recent patch now fails to apply, so I am removing commit
and marking with needs-refresh
.
#12
@
4 years ago
Thanks for you patch @leprincenoir and for testing @samful. The patch works good above 768px, but below 768px the <hr>
reverts back to the narrow width. Screenshots coming.
I believe it is due to the use of the postContentMaxWidth()
function, which only includes media queries for tablet and desktop sizes.
#13
@
4 years ago
- Keywords commit added; needs-refresh removed
- Owner changed from nielslange to ianbelanger
- Status changed from assigned to reviewing
Patch looks good, thanks for the quick update @leprincenoir. Reviewing for commit now.
#15
@
4 years ago
- Keywords fixed-major added; commit removed
- Milestone changed from 5.5 to 5.4.3
- Resolution fixed deleted
- Status changed from closed to reopened
Reopening for backport.
Twenty Nineteen three separator block variants.
hr
tags currently look like the first one, but should be updated to look like the second one.