From 5404ad0bf98b7d98a87033c14009a7e5f22f5865 Mon Sep 17 00:00:00 2001 From: smolgrrr Date: Mon, 27 Nov 2023 01:38:20 +1100 Subject: [PATCH] UI work --- client/src/components/Forms/Form.css | 3 +++ client/src/components/Forms/PostFormCard.tsx | 8 ++++---- client/src/components/Modals/CardModals/TextModal.tsx | 2 +- client/src/index.css | 9 +-------- client/src/index.tsx | 2 +- client/tailwind.config.js | 4 ++++ 6 files changed, 14 insertions(+), 14 deletions(-) create mode 100644 client/src/components/Forms/Form.css diff --git a/client/src/components/Forms/Form.css b/client/src/components/Forms/Form.css new file mode 100644 index 0000000..e83d125 --- /dev/null +++ b/client/src/components/Forms/Form.css @@ -0,0 +1,3 @@ +textarea { + caret-color: rgb(0, 38, 255); +} \ No newline at end of file diff --git a/client/src/components/Forms/PostFormCard.tsx b/client/src/components/Forms/PostFormCard.tsx index e22a397..02420c0 100644 --- a/client/src/components/Forms/PostFormCard.tsx +++ b/client/src/components/Forms/PostFormCard.tsx @@ -11,6 +11,7 @@ import { renderMedia, attachFile } from "../../utils/FileUpload"; import { EmojiPicker } from "./Emojis/emoji-picker"; import customEmojis from './custom_emojis.json'; import { useSubmitForm } from "./handleSubmit"; +import "./Form.css"; interface FormProps { refEvent?: NostrEvent; @@ -48,9 +49,8 @@ const NewNoteCard = ({ if (tags) { tags.forEach(tag => unsigned.tags.push([tag, refEvent[tag === 'p' ? 'pubkey' : 'id']])); } - if (tagType === 'Quote') { - setComment(comment + ' nostr:' + nip19.noteEncode(refEvent.id)); + setComment(comment + '\nnostr:' + nip19.noteEncode(refEvent.id)); } } @@ -135,11 +135,11 @@ const NewNoteCard = ({ >
+ {"C:\\WIRE>"}