From 566d87bb8e1a91f86ef345a822d9f8f5d47bf4ef Mon Sep 17 00:00:00 2001 From: silverwind Date: Wed, 19 Jun 2024 18:19:59 +0200 Subject: [PATCH] Fix new issue/pr avatar (#31419) The avatar on "New Issue" and "New Pull Request" pages was inconsistent. Removed the extra margin and the new CSS rules now use common parent `
` because `.repository.new.issue` is not present on pull request page. --- web_src/css/repo.css | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/web_src/css/repo.css b/web_src/css/repo.css index 357a4ee19..571c60700 100644 --- a/web_src/css/repo.css +++ b/web_src/css/repo.css @@ -530,14 +530,10 @@ td .commit-summary { min-width: 100px; } -.repository.new.issue .comment.form .comment .avatar { +#new-issue .avatar { width: 3em; } -.repository.new.issue .comment.form .content { - margin-left: 4em; -} - .repository.new.issue .comment.form .content::before, .repository.new.issue .comment.form .content::after { right: 100%;