[WEB-1498] style: fix comments reaction alignment. (#4686)

This commit is contained in:
Prateek Shourya 2024-06-04 13:11:49 +05:30 committed by GitHub
parent 87582604f7
commit cad55f3234
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -44,11 +44,11 @@ export const ReactionSelector: React.FC<Props> = (props) => {
leaveTo="opacity-0 translate-y-1" leaveTo="opacity-0 translate-y-1"
> >
<Popover.Panel <Popover.Panel
className={`absolute -left-2 z-10 bg-custom-sidebar-background-100 ${ className={`absolute z-10 bg-custom-sidebar-background-100 ${
position === "top" ? "-top-12" : "-bottom-12" position === "top" ? "-top-12" : "-bottom-12"
}`} }`}
> >
<div className="rounded-md border border-custom-border-200 bg-custom-sidebar-background-100 p-1 shadow-custom-shadow-sm"> <div className="rounded-md border border-custom-border-200 bg-custom-sidebar-background-100 p-1">
<div className="flex gap-x-1"> <div className="flex gap-x-1">
{reactionEmojis.map((emoji) => ( {reactionEmojis.map((emoji) => (
<button <button