2
0

🩹 (js) Move data-blockid to the right element

This commit is contained in:
Baptiste Arnaud
2023-03-23 08:59:08 +01:00
parent f5611844bd
commit 5090badfa9
4 changed files with 7 additions and 4 deletions

View File

@ -45,7 +45,7 @@ export const ChatChunk = (props: Props) => {
return (
<div class="flex w-full">
<div class="flex flex-col w-full min-w-0" data-blockid={props.input?.id}>
<div class="flex flex-col w-full min-w-0">
<div class="flex">
<Show
when={

View File

@ -66,7 +66,10 @@ export const InputChatBlock = (props: Props) => {
)}
</Match>
<Match when={isNotDefined(answer())}>
<div class="flex justify-end animate-fade-in">
<div
class="flex justify-end animate-fade-in"
data-blockid={props.block.id}
>
{props.hasHostAvatar && (
<div
class={