mirror of
https://github.com/nextcloud/server.git
synced 2026-06-14 19:20:35 -04:00
Popover positionning and classes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
418ebfbdf4
commit
961fcfa1fb
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'
|
||||
|
|
|
|||
Loading…
Reference in a new issue