1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-12 21:30:39 +00:00

[lib setting] 'folder perm', 'share link': add 'min-height'

This commit is contained in:
llj
2016-03-10 18:02:32 +08:00
parent b741ef8b60
commit d6dffbab73
3 changed files with 7 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ define([
var View = Backbone.View.extend({
id: 'repo-folder-perm-popup',
template: _.template($('#repo-folder-perm-admin-dialog-tmpl').html()),
initialize: function(options) {
@@ -22,6 +23,7 @@ define([
this.$('.op-target').css({'max-width':280}); // for long repo name
this.$el.modal({
focus: false,
containerCss: {"padding": 0},
onClose: function() {
$(document).off('click', hideItemEdit);
$.modal.close();

View File

@@ -20,7 +20,9 @@ define([
this.render();
this.$('.op-target').css({'max-width':280}); // for long repo name
this.$el.modal();
this.$el.modal({
containerCss: {"padding": 0}
});
$("#simplemodal-container").css({
'width':'auto',
'height':'auto'