mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-05-10 12:01:55 +00:00
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:
parent
89f99dba85
commit
d6f2cb7592
1 changed files with 1 additions and 2 deletions
|
|
@ -27,9 +27,8 @@ export const AudioTrackModal: React.FC<AudioTrackModalProps> = ({
|
||||||
}) => {
|
}) => {
|
||||||
const { width, height } = useWindowDimensions();
|
const { width, height } = useWindowDimensions();
|
||||||
|
|
||||||
// Size constants matching SubtitleModal aesthetics
|
|
||||||
const menuWidth = Math.min(width * 0.9, 420);
|
const menuWidth = Math.min(width * 0.9, 420);
|
||||||
const menuMaxHeight = height * 0.8;
|
const menuMaxHeight = height * 0.9;
|
||||||
|
|
||||||
const handleClose = () => setShowAudioModal(false);
|
const handleClose = () => setShowAudioModal(false);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue