new note btn circular
Some checks failed
continuous-integration/drone/pr Build is failing

This commit is contained in:
Martti Malmi 2023-11-28 11:21:52 +02:00
parent d41e7e5ce0
commit d28f287173
2 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,6 @@
import { useEffect, useState } from "react"; import { useEffect, useState } from "react";
import { FormattedMessage, useIntl } from "react-intl"; import { FormattedMessage, useIntl } from "react-intl";
import { removeUndefined, unwrap } from "@snort/shared"; import { unwrap } from "@snort/shared";
import { NostrEvent, OkResponse } from "@snort/system"; import { NostrEvent, OkResponse } from "@snort/system";
import AsyncButton from "@/Element/AsyncButton"; import AsyncButton from "@/Element/AsyncButton";

View File

@ -60,7 +60,11 @@ export const NoteCreatorButton = ({
{!shouldHideNoteCreator && ( {!shouldHideNoteCreator && (
<button <button
ref={buttonRef} ref={buttonRef}
className={classNames("flex flex-row items-center primary rounded-full", { circle: !showText }, className)} className={classNames(
"aspect-square flex flex-row items-center primary rounded-full",
{ "xl:aspect-auto": showText },
className,
)}
onClick={() => onClick={() =>
update(v => { update(v => {
v.replyTo = undefined; v.replyTo = undefined;