Skip to content
Prev Previous commit
Next Next commit
change menu's orientation to make sure it is completly visible
Signed-off-by: Florian Schunk <[email protected]>
  • Loading branch information
rummatee committed Jan 9, 2019
commit 808cf39961e88352a2d1551a9063f58fb9093e3f
1 change: 1 addition & 0 deletions core/css/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -778,6 +778,7 @@ code {
.menu {
top:100%;
margin:10px;
margin-left: 0px;
form {
display:flex;
margin:10px;
Expand Down
2 changes: 1 addition & 1 deletion core/js/oc-dialogs.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ var OCdialogs = {
}
} catch (error) {
$input.attr('title', error);
$input.tooltip({placement: 'right', trigger: 'manual', 'container': '.newFileMenu'});
$input.tooltip({placement: 'right', trigger: 'manual', 'container': '.newFolderMenu'});
$input.tooltip('fixTitle');
$input.tooltip('show');
$input.addClass('error');
Expand Down
2 changes: 1 addition & 1 deletion core/templates/filepicker.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div id="{dialog_name}" title="{title}">
<span class="dirtree breadcrumb"></span>
<span class="actions creatable"><a href="#" class="icon icon-add button button-add"></a>
<nav class="menu popovermenu bubble menu-center newFileMenu">
<nav class="menu popovermenu bubble menu-left newFolderMenu">
<ul><li>
<form class="filenameform">
<input type="text" value={newtext}>
Expand Down