Skip to content

Commit f4373a4

Browse files
authored
Merge pull request #15 from CodeWithOz/develop
fix: update conversation hint visibility logic in scenario practice mode
2 parents ee3da18 + 3f09aec commit f4373a4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

App.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ const App: React.FC = () => {
620620
};
621621

622622
return (
623-
<div className="h-screen bg-slate-900 flex flex-col relative overflow-hidden">
623+
<div className="min-h-dvh h-dvh bg-slate-900 flex flex-col relative overflow-hidden">
624624

625625
{/* Background Ambience */}
626626
<div className="absolute top-0 left-0 w-full h-full overflow-hidden pointer-events-none z-0">
@@ -743,11 +743,11 @@ const App: React.FC = () => {
743743
playbackSpeed={playbackSpeed}
744744
autoPlayMessageId={autoPlayMessageId}
745745
/>
746-
{/* Conversation hint - shown only in scenario practice mode; flex-shrink-0 keeps it visible below the scrollable history */}
746+
{/* Conversation hint - shown in scenario practice when idle or recording; flex-shrink-0 keeps it visible below the scrollable history */}
747747
<div className="flex-shrink-0">
748748
<ConversationHint
749749
hint={currentHint}
750-
isVisible={scenarioMode === 'practice' && appState === AppState.IDLE}
750+
isVisible={scenarioMode === 'practice' && (appState === AppState.IDLE || appState === AppState.RECORDING)}
751751
/>
752752
</div>
753753
</main>

0 commit comments

Comments
 (0)