change menu's orientation to make sure it is completly visible

Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
This commit is contained in:
Florian Schunk 2018-12-22 17:38:51 +01:00
parent b555fb3ff5
commit 808cf39961
3 changed files with 3 additions and 2 deletions

View File

@ -778,6 +778,7 @@ code {
.menu {
top:100%;
margin:10px;
margin-left: 0px;
form {
display:flex;
margin:10px;

View File

@ -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');

View File

@ -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}>