Fix white border around user avatar glitch ()

fix white border around user avatar
This commit is contained in:
Sean Hatfield 2023-11-01 14:17:27 -07:00 committed by GitHub
parent 24823cb5e2
commit 1c5d55c425
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions
frontend/src
components/UserIcon
index.css

View file

@ -16,7 +16,7 @@ export default function Jazzicon({ size = 10, user, role }) {
return (
<div
className={`flex ${role === "user" ? "border-2 rounded-full" : ""}`}
className={`flex ${role === "user" ? "user-reply" : ""}`}
ref={divRef}
/>
);

View file

@ -354,3 +354,7 @@ dialog::backdrop {
top: 100%;
}
.user-reply>div:first-of-type {
border: 2px solid white;
}