mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-22 05:09:05 +00:00
fixed layout
This commit is contained in:
@@ -6,12 +6,10 @@ type LiveTranscriptionProps = {
|
||||
export default function LiveTrancription(props: LiveTranscriptionProps) {
|
||||
return (
|
||||
<div className="text-center p-4">
|
||||
<p className="text-lg md:text-xl font-bold line-clamp-4">
|
||||
{props.translateText ? props.translateText : props.text}
|
||||
</p>
|
||||
<p className="text-lg md:text-xl font-bold line-clamp-4">{props.text}</p>
|
||||
{props.translateText && (
|
||||
<p className="text-base md:textlg font-bold line-clamp-4">
|
||||
{props.text}
|
||||
<p className="text-base md:text-lg font-bold line-clamp-4 mt-4">
|
||||
{props.translateText}
|
||||
</p>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user