1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-07 18:03:48 +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;
}
/* file/dir share popup */
#repo-folder-perm-popup,
#repo-share-link-admin-dialog,
#folder-perm-popup,
#file-share,
#share-popup {

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'