cetirizine

An experimental matrix client written in reactjs utilizing tailwind and storybook
git clone git://archive.git.mtrnord.blog/MTRNord/cetirizine.git
Log | Files | Refs | README | LICENSE

commit ff17a4da7dbbb1acf182151321b124d1584022ec
parent 0646f498154d7bd5191dc746b7bda78ff1b17b97
Author: MTRNord <mtrnord1@gmail.com>
Date:   Wed,  7 Jun 2023 20:15:06 +0200

fix message alignment

Diffstat:
Msrc/components/events/wrapper.tsx | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/events/wrapper.tsx b/src/components/events/wrapper.tsx @@ -45,7 +45,7 @@ export const MessageWrapper: FC<MessageWrapperProps> = memo(({ hasPreviousEvent, dm={dm} isBot={isBot} />} - <div className={!hasPreviousEvent ? "flex flex-col gap-1" : "ml-[3.7rem]"}> + <div className={!hasPreviousEvent ? "flex flex-col gap-1" : "ml-12"}> {!hasPreviousEvent && <h2 className="flex flex-row items-center gap-2 text-base font-medium text-red-500 whitespace-pre-wrap">{isBot ? <Bot size={16} /> : <></>}{displayname}</h2>} {children} </div>