Adjust audio track modal maximum height

Increased the maximum height of the audio track modal to better utilize screen space.
This commit is contained in:
AdityasahuX07 2025-12-20 11:02:48 +05:30 committed by GitHub
parent 89f99dba85
commit d6f2cb7592
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,9 +27,8 @@ export const AudioTrackModal: React.FC<AudioTrackModalProps> = ({
}) => {
const { width, height } = useWindowDimensions();
// Size constants matching SubtitleModal aesthetics
const menuWidth = Math.min(width * 0.9, 420);
const menuMaxHeight = height * 0.8;
const menuMaxHeight = height * 0.9;
const handleClose = () => setShowAudioModal(false);