🩹 (js) Move data-blockid to the right element
This commit is contained in:
@ -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={
|
||||
|
@ -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={
|
||||
|
Reference in New Issue
Block a user