fix: improve visibility of keyboard hints

During compose video or screen recording, the keyboard hints were
invisible if the content was super bright.
This commit is contained in:
talksik
2026-04-08 17:13:47 -07:00
parent 8f68a81739
commit acaedff73c
2 changed files with 8 additions and 0 deletions
@@ -191,6 +191,11 @@ export function RecordingOverlay({
/>
)}
{/* Bottom gradient scrim for keyboard hint readability */}
{(isRecording || isReviewing) && !isLoading && (
<div className="pointer-events-none absolute inset-x-0 bottom-0 z-[5] h-1/4 bg-gradient-to-t from-black/60 to-transparent" />
)}
{/* Top center: recording indicator */}
<div className="absolute top-8 z-10">
{isRecording && !isLoading ? (
@@ -436,6 +436,9 @@ export function StreamView({ path, streamParticle }: StreamViewProps) {
disabled={streamParticle.status === "closed"}
/>
{/* Bottom gradient safe zone for keyboard hints */}
<div className="pointer-events-none absolute inset-x-0 bottom-0 z-[5] h-1/4 bg-gradient-to-t from-black/60 to-transparent" />
{/* BottomBar */}
<BottomBar
visible={controlsVisible}