fix style
This commit is contained in:
@@ -111,18 +111,20 @@ const SelectedWords = (props: {
|
|||||||
|
|
||||||
<Separator className="my-4" />
|
<Separator className="my-4" />
|
||||||
|
|
||||||
{currentDictValue === "cambridge" ? (
|
<div className="rounded-lg overflow-hidden mr-10">
|
||||||
<CamdictLookupResult word={word} />
|
{currentDictValue === "cambridge" ? (
|
||||||
) : currentDictValue === "ai" ? (
|
<CamdictLookupResult word={word} />
|
||||||
<AiLookupResult
|
) : currentDictValue === "ai" ? (
|
||||||
word={word}
|
<AiLookupResult
|
||||||
context={caption.text}
|
word={word}
|
||||||
sourceId={transcription.targetId}
|
context={caption.text}
|
||||||
sourceType={transcription.targetType}
|
sourceId={transcription.targetId}
|
||||||
/>
|
sourceType={transcription.targetType}
|
||||||
) : (
|
/>
|
||||||
<DictLookupResult word={word} autoHeight={true} />
|
) : (
|
||||||
)}
|
<DictLookupResult word={word} autoHeight={true} />
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user