1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-08 18:30:53 +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

@@ -2229,6 +2229,8 @@ textarea:-moz-placeholder {/* for FF */
padding:2px; padding:2px;
} }
/* file/dir share popup */ /* file/dir share popup */
#repo-folder-perm-popup,
#repo-share-link-admin-dialog,
#folder-perm-popup, #folder-perm-popup,
#file-share, #file-share,
#share-popup { #share-popup {

View File

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

View File

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