mirror of
https://github.com/transmission/transmission
synced 2024-12-23 08:13:27 +00:00
(trunk) #1856 on the iPhone, when the web interface is in portrait mode and run full screen, display the footer bar in the correct place
This commit is contained in:
parent
52777f376f
commit
05119cf2a5
1 changed files with 5 additions and 0 deletions
|
@ -69,6 +69,11 @@ $(document).ready( function() {
|
||||||
// different padding.
|
// different padding.
|
||||||
$('div.dialog_container div.dialog_window a').css('padding', '2px 10px 3px');
|
$('div.dialog_container div.dialog_window a').css('padding', '2px 10px 3px');
|
||||||
}
|
}
|
||||||
|
if (iPhone)
|
||||||
|
if(window.navigator.standalone)
|
||||||
|
// Fix min height for iPhone when run in full screen mode from home screen
|
||||||
|
// so the footer appears in the right place
|
||||||
|
$('body div#torrent_container').css('min-height', '338px');
|
||||||
});
|
});
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue