diff --git a/apps/yup-live-mobile/src/views/CrossPostModal.vue b/apps/yup-live-mobile/src/views/CrossPostModal.vue index 42dd982..7036142 100644 --- a/apps/yup-live-mobile/src/views/CrossPostModal.vue +++ b/apps/yup-live-mobile/src/views/CrossPostModal.vue @@ -8,7 +8,7 @@ Cancel Send @@ -59,7 +59,7 @@ class="leading-7 text-sm text-gray-600 dark:text-gray-300" >Content - + > @@ -115,7 +115,7 @@ @@ -146,17 +146,17 @@ /> + class="inline w-4" + /> Add Image - + - {{ posts.length > 1 ? "Add new post to Thread" : "Create Thread" }} - {{ @@ -195,53 +195,55 @@ }} - { - if (farcasterChannel) { - farcasterChannel = undefined; - } else { - modalContent = 'selectFatscasterChannel'; + + { + if (farcasterChannel) { + farcasterChannel = undefined; + } else { + modalContent = 'selectFatscasterChannel'; + } } - } - " - > - - - {{ - farcasterChannel - ? "Remove farcaster channel" - : "Add farcaster channel" - }} - - + > + + + {{ + farcasterChannel + ? "Remove farcaster channel" + : "Add farcaster channel" + }} + + + - Schedule - Send @@ -275,7 +277,7 @@ Search + + x + - - Cancel - - + No channels found @@ -514,6 +519,7 @@ export default defineComponent({ const mentionsOpen = ref(false); const mentionsCoords = ref({ x: 0, y: 0 }); const mentions = ref([]) as Ref; + const searchChannelTerm = ref(""); const addToThread = () => { if (posts.length > 30) { @@ -545,11 +551,11 @@ export default defineComponent({ if (isChannelSearching.value) return; isChannelSearching.value = true; let result: TChannel[]; - let searchTerm = ""; + searchChannelTerm.value = ""; do { - searchTerm = searchString; + searchChannelTerm.value = searchString; result = await searchChannel(searchString); - } while (searchTerm !== searchString); + } while (searchChannelTerm.value !== searchString); channels.value = result; isChannelSearching.value = false; }; @@ -996,6 +1002,7 @@ export default defineComponent({ mentions, insertMention, isChannelSearching, + searchChannelTerm, }; }, }); @@ -1019,5 +1026,10 @@ export default defineComponent({ border-radius: 0.7rem; min-height: 13rem; color: aliceblue; + overflow-y: scroll; + word-wrap: break-word; + overflow-wrap: break-word; + overflow-x: hidden; + white-space: pre-wrap; } diff --git a/apps/yup-live/src/components/content/post/crossPost.vue b/apps/yup-live/src/components/content/post/crossPost.vue index 207b21c..9175293 100644 --- a/apps/yup-live/src/components/content/post/crossPost.vue +++ b/apps/yup-live/src/components/content/post/crossPost.vue @@ -67,7 +67,7 @@ class="leading-7 text-sm dark:text-gray-300 text-stone-100" >Content - + > { + (mention: any) => { insertMention(mention, index); } " @@ -954,9 +954,11 @@ export default defineComponent({ border-radius: 0.7rem; min-height: 13rem; color: aliceblue; - min-height: 25vh; - min-width: 35vw; - text-align: left; + overflow-y: scroll; + word-wrap: break-word; + overflow-wrap: break-word; + overflow-x: hidden; + white-space: pre-wrap; } [contenteditable="true"]:empty:before {
Search
No channels found