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:
parent
b555fb3ff5
commit
808cf39961
|
@ -778,6 +778,7 @@ code {
|
||||||
.menu {
|
.menu {
|
||||||
top:100%;
|
top:100%;
|
||||||
margin:10px;
|
margin:10px;
|
||||||
|
margin-left: 0px;
|
||||||
form {
|
form {
|
||||||
display:flex;
|
display:flex;
|
||||||
margin:10px;
|
margin:10px;
|
||||||
|
|
|
@ -307,7 +307,7 @@ var OCdialogs = {
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
$input.attr('title', 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('fixTitle');
|
||||||
$input.tooltip('show');
|
$input.tooltip('show');
|
||||||
$input.addClass('error');
|
$input.addClass('error');
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<div id="{dialog_name}" title="{title}">
|
<div id="{dialog_name}" title="{title}">
|
||||||
<span class="dirtree breadcrumb"></span>
|
<span class="dirtree breadcrumb"></span>
|
||||||
<span class="actions creatable"><a href="#" class="icon icon-add button button-add"></a>
|
<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>
|
<ul><li>
|
||||||
<form class="filenameform">
|
<form class="filenameform">
|
||||||
<input type="text" value={newtext}>
|
<input type="text" value={newtext}>
|
||||||
|
|
Loading…
Reference in New Issue