new note btn circular
This commit is contained in:
@ -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";
|
||||||
|
@ -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;
|
||||||
|
Reference in New Issue
Block a user