fix notecreator layout

This commit is contained in:
Martti Malmi
2023-12-12 14:04:38 +02:00
parent fce7cc70a3
commit dcb3389aa1
4 changed files with 7 additions and 2 deletions

View File

@ -498,7 +498,7 @@ export function NoteCreator() {
function noteCreatorFooter() {
return (
<div className="flex items-center justify-between">
<div className="flex justify-between">
<div className="flex items-center g8">
<ProfileImage
pubkey={login.publicKey ?? ""}
@ -506,6 +506,7 @@ export function NoteCreator() {
link=""
showUsername={false}
showFollowDistance={false}
showProfileCard={false}
/>
{note.pollOptions === undefined && !note.replyTo && (
<AsyncIcon
@ -598,6 +599,7 @@ export function NoteCreator() {
options={{
showFooter: false,
showContextMenu: false,
showProfileCard: false,
showTime: false,
canClick: false,
showMedia: false,
@ -681,7 +683,7 @@ export function NoteCreator() {
if (!note.show) return null;
return (
<Modal id="note-creator" className="note-creator-modal" onClose={reset}>
<Modal id="note-creator" bodyClassName="modal-body flex flex-col gap-4" className="note-creator-modal" onClose={reset}>
{noteCreatorForm()}
</Modal>
);