Fixed footer height (it used to collapse if no text)

This commit is contained in:
Koper
2023-07-26 16:32:31 +07:00
parent 8392181eb6
commit 499edd665b
2 changed files with 3 additions and 3 deletions

View File

@@ -57,8 +57,8 @@ export function Dashboard({
)} )}
</div> </div>
<footer className="w-full bg-gray-800 text-white text-center py-4 text-2xl"> <footer className="w-full bg-gray-800 text-white text-center py-4 text-2xl mt-8 h-32">
{transcriptionText} &nbsp;{transcriptionText}&nbsp;
</footer> </footer>
</> </>
); );

View File

@@ -35,7 +35,7 @@ const App = () => {
<Dashboard <Dashboard
isRecording={isRecording} isRecording={isRecording}
onRecord={(recording) => handleRecord(recording)} onRecord={(recording) => handleRecord(recording)}
transcriptionText={serverData.text ?? "..."} transcriptionText={serverData.text ?? "(No transcription yet)"}
finalSummary={serverData.finalSummary} finalSummary={serverData.finalSummary}
topics={serverData.topics ?? []} topics={serverData.topics ?? []}
stream={stream} stream={stream}