Skip to content

fix: comment delete button overlapping the date - #117

Merged
shiaho777 merged 1 commit into
mainfrom
fix/comment-del-layout
Sep 13, 2026
Merged

shiaho777 merged 1 commit into
mainfrom
fix/comment-del-layout

Conversation

@shiaho777

Copy link
Copy Markdown
Owner

Summary

  • Date used margin-left:auto at the header's right edge while .comment-del was absolutely positioned at the same corner — overlap.
  • Delete button now sits in the header flex row after the date; head restructured as div + inner profile link (keeps interactive elements out of <a>).
  • community.js reference now carries ?v= so CDN/browser cache picks up new markup.

Fixes #116

Test plan

  • pytest 336 green; visual: date and 删除 sit side by side.

Generated with Devin

The date sat at the flex row's right edge via margin-left:auto while
.comment-del was absolutely positioned at the same corner — they
overlapped. The button now lives inside the header flex row (head
wrapped in a non-link div so interactive content stays valid), with
the versioned community.js reference so CDNs don't serve the stale
markup forever.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@shiaho777
shiaho777 merged commit 15100e4 into main Sep 13, 2026
3 checks passed
@shiaho777
shiaho777 deleted the fix/comment-del-layout branch September 13, 2026 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Comment delete button overlaps the date

1 participant