Popover positionning and classes

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
pull/3118/head
John Molakvoæ (skjnldsv) 2017-01-21 20:05:58 +07:00 committed by Morris Jobke
parent 418ebfbdf4
commit 961fcfa1fb
No known key found for this signature in database
GPG Key ID: 9CE5ED29E7FCD38A
3 changed files with 6 additions and 2 deletions

@ -771,6 +771,10 @@ html.ie8 #controls .button.new {
font-weight: 300;
top: 100%;
margin-top: 4px;
width: 120px;
margin-left: 7px;
margin-top: 38px;
z-index: 1001;
}
.newFileMenu .filenameform {

@ -2951,7 +2951,7 @@
this._newFileMenu = new OCA.Files.NewFileMenu({
fileList: this
});
this._newButton.append(this._newFileMenu.$el);
$('.actions').append(this._newFileMenu.$el);
}
this._newFileMenu.showAt($target);

@ -39,7 +39,7 @@
var NewFileMenu = OC.Backbone.View.extend({
tagName: 'div',
// Menu is opened by default because it's rendered on "add-button" click
className: 'newFileMenu popovermenu bubble menu open menu-center',
className: 'newFileMenu popovermenu bubble menu open menu-left',
events: {
'click .menuitem': '_onClickAction'