diff options
author | silverwind <me@silverwind.io> | 2024-06-19 18:19:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-19 16:19:59 +0000 |
commit | 566d87bb8e1a91f86ef345a822d9f8f5d47bf4ef (patch) | |
tree | c8e5c21482902e88911bd1276744f55e47bb5d6c | |
parent | 1c26127b520858671ce257c7c9ab978ed1e95252 (diff) | |
download | gitea-566d87bb8e1a91f86ef345a822d9f8f5d47bf4ef.tar.gz gitea-566d87bb8e1a91f86ef345a822d9f8f5d47bf4ef.zip |
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
`<form id="#new-issue">` because `.repository.new.issue` is not present
on pull request page.
-rw-r--r-- | web_src/css/repo.css | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/web_src/css/repo.css b/web_src/css/repo.css index 357a4ee195..571c60700e 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%; |