Skip to content

Commit

Permalink
Remove obsolete border-radius on comment content (go-gitea#29128)
Browse files Browse the repository at this point in the history
This border-radius is obsolete since we changed the comment rendering a
few months ago and it caused incorrect display on blockquotes.

Before:
<img width="160" alt="Screenshot 2024-02-10 at 18 42 48"
src="https://github.com/go-gitea/gitea/assets/115237/ccbf4660-acf9-4268-aad9-1ad49d317a67">

After:
<img width="135" alt="Screenshot 2024-02-10 at 18 42 40"
src="https://github.com/go-gitea/gitea/assets/115237/6f588e02-3b2a-49ee-b459-81d8068b2f4e">
  • Loading branch information
silverwind committed Feb 20, 2024
1 parent 5eaa39d commit 97cc9a6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions web_src/css/repo.css
Original file line number Diff line number Diff line change
Expand Up @@ -2289,10 +2289,6 @@
padding: 1em;
}

.comment-body .markup {
border-radius: 0 0 var(--border-radius) var(--border-radius); /* don't render outside box */
}

.edit-label.modal .form .column,
.new-label.modal .form .column {
padding-right: 0;
Expand Down

0 comments on commit 97cc9a6

Please sign in to comment.