fixing elements in viewconvo

This commit is contained in:
Arjun Patel
2022-02-11 20:25:43 -08:00
parent f2d909ac13
commit 42cdb18806
2 changed files with 15 additions and 15 deletions
@@ -62,7 +62,7 @@ export default function CreateItemModal(props: {
<span className="flex flex-col">
<span className="text-lg font-semibold">Title</span>
<span className="text-gray-300 text-sm mb-2">
Make sure this makes sense to everyone.
Be clear and concise.
</span>
<input
autoFocus
@@ -370,21 +370,21 @@ export default function ViewConvo(props: { conversationId: string }) {
<div className="flex flex-row items-start space-x-5">
<div className="flex-1 flex flex-col overflow-auto">
<span
onClick={() => setEditTldrMode(true)}
className="flex flex-row group items-center"
>
<span className="text-md tracking-widest font-semibold text-slate-300 uppercase">
TLDR;
</span>
<span className="p-2 ml-2 rounded-full hover:cursor-pointer hover:bg-slate-200 group-hover:visible invisible">
<FaEdit className="ml-auto text-md text-slate-400" />
</span>
</span>
{!editTldrMode ? (
<>
<span
onClick={() => setEditTldrMode(true)}
className="flex flex-row group items-center"
>
<span className="text-md tracking-widest font-semibold text-slate-300 uppercase">
TLDR;
</span>
<span className="p-2 ml-2 rounded-full hover:cursor-pointer hover:bg-slate-200 group-hover:visible invisible">
<FaEdit className="ml-auto text-md text-slate-400" />
</span>
</span>
<span className="max-w-md text-lg text-slate-600 cursor-pointer whitespace-pre-line">
{convo?.tldr}
</span>
@@ -423,7 +423,7 @@ export default function ViewConvo(props: { conversationId: string }) {
Conversation
</span>
<span className="flex flex-ro flex-nowrap pb-[10rem] mt-5">
<span className="flex flex-row flex-nowrap pb-[10rem] mt-5 overflow-auto">
{audioClips?.length > 0 ? (
audioClips.reverse().map((audClip, index) => {
const restAudioClips = audioClips.slice(index);