mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 23:20:51 +00:00
[mobile] redesigned big modal popups
This commit is contained in:
@@ -23,11 +23,20 @@ define([
|
||||
|
||||
this.render();
|
||||
|
||||
if ($(window).width() < 768) {
|
||||
this.$el.css({
|
||||
'width': $(window).width() - 50,
|
||||
'height': $(window).height() - 50,
|
||||
'overflow': 'auto'
|
||||
});
|
||||
}
|
||||
this.$el.modal({
|
||||
appendTo: "#main",
|
||||
focus: false
|
||||
});
|
||||
$('#simplemodal-container').css({'width':'auto', 'height':'auto'});
|
||||
if ($(window).width() >= 768) {
|
||||
$('#simplemodal-container').css({'width':'auto', 'height':'auto'});
|
||||
}
|
||||
|
||||
this.$("#folder-perm-tabs").tabs();
|
||||
|
||||
|
Reference in New Issue
Block a user