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

[repo details] improvement

This commit is contained in:
llj
2017-06-28 11:37:52 +08:00
parent 88c79b4894
commit aa6416d30d
2 changed files with 4 additions and 4 deletions

View File

@@ -8,7 +8,7 @@ define([
var View = Backbone.View.extend({
id: 'repo-details',
className: 'details-panel right-side-panel hide', // `hide` is for 'clickItem' in `views/myhome-repos.js`
className: 'details-panel right-side-panel',
template: _.template($('#repo-details-tmpl').html()),
@@ -52,7 +52,7 @@ define([
},
hide: function() {
this.$el.css({'right': '-400px'}).hide();
this.$el.css({'right': '-320px'});
},
close: function() {
@@ -63,7 +63,7 @@ define([
show: function(options) {
this.data = options;
this.render();
this.$el.css({'right': '0px'}).show();
this.$el.css({'right': '0px'});
this.setConMaxHeight();
}