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:
@@ -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 {
|
||||
|
@@ -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();
|
||||
|
@@ -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'
|
||||
|
Reference in New Issue
Block a user