#59334 closed defect (bug) (fixed)
Twenty Seventeen and Twenty Nineteen: Comments Reply heading and Cancel reply link have no space between them
Reported by: | pitamdey | Owned by: | karmatosed |
---|---|---|---|
Milestone: | 6.7 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Bundled Theme | Keywords: | has-screenshots has-patch commit |
Focuses: | ui, css | Cc: |
Description
In Theme Twenty Nineteen, Twenty seventeen & Twenty Twenty-Two, in the comment section on clicking reply the reply to user and cancel reply have no space between them
Reference Video : https://drive.google.com/file/d/1YBcQquFQdZz7CpUZs3gzYBfK869CTWDB/view
Attachments (9)
Change History (27)
#1
@
13 months ago
- Component changed from Comments to Bundled Theme
This might be fixable by adding a space in the comment reply JS instead (#51589), but you proposed changing theme styles.
Notes:
- Twenty Seventeen uses
em
measurements for most margins. Its margin for could go in the comment-reply area of the stylesheet. - Twenty Nineteen likewise could use
0.5em
(or0.5rem
) as a margin. That theme's styles need to be edited in SCSS and then compiled. - Twenty Twenty-Two only needs a correction in the legacy version of the Comments block; the newer block adds a margin of
0.5em
. To avoid RTL issues, we could try a pseudo-element before thesmall
element..wp-block-post-comments .comment-reply-title > small::before { content: ""; display: inline-block; width: 0.5em; height: 1em; }
#2
@
12 months ago
- Keywords needs-testing-info added
Hi,
@pitamdey can you please clarify if you mean the comments block, or the theme's default comment area?
It would be helpful to add testing instructions, both for reproducing the problem and for testing the patch.
This ticket was mentioned in PR #6368 on WordPress/wordpress-develop by @sabernhardt.
6 months ago
#5
- Keywords has-patch added
- Twenty Seventeen: add a 0.5em left margin in
style.css
and then override that with a 0.5em right margin inrtl.css
- Twenty Nineteen: add a 0.5em left margin in
sass/site/primary/_comments.scss
andstyle.css
, which becomes a right margin instyle-rtl.css
- Twenty Twenty-Two: add a
::before
pseudo-element that is 0.5em wide
#6
@
6 months ago
- Summary changed from In Theme Twenty Nineteen, Twenty seventeen & Twenty Twenty-Two Comment section Reply and cancel reply has no space between them to Twenty Seventeen, Twenty Nineteen & Twenty Twenty-Two: Comments Reply heading and Cancel reply link have no space between them
#8
@
3 months ago
- Milestone changed from Awaiting Review to 6.7
In ticket:56496#comment:18, I had suggested leaving Twenty Twenty-Two's CSS untouched for anything related to the legacy Comments block. I could remove that part of the pull request (if desired).
@sabernhardt commented on PR #6368:
3 months ago
#11
I removed the changes for Twenty Twenty-Two and synced the branch.
#12
@
3 months ago
- Keywords changes-requested removed
- Summary changed from Twenty Seventeen, Twenty Nineteen & Twenty Twenty-Two: Comments Reply heading and Cancel reply link have no space between them to Twenty Seventeen and Twenty Nineteen: Comments Reply heading and Cancel reply link have no space between them
#15
@
3 months ago
In the next few screenshots you can see both what the patch does and also what it looked like without in Twenty Seventeen. This means it is good to go to commit as the patch resolves the issue. Thank you everyone.
@sabernhardt commented on PR #6368:
3 months ago
#18
Committed in r58732
Twenty Seventeen