summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Schunk <florian.schunk@rwth-aachen.de>2018-12-22 17:38:51 +0100
committerFlorian Schunk <florian.schunk@rwth-aachen.de>2019-01-09 11:28:51 +0100
commit808cf39961e88352a2d1551a9063f58fb9093e3f (patch)
treec162a3e8438c8414fa2ffa23743d381f4603fd7f
parentb555fb3ff56d77b139f875ff7ea587844afa77b0 (diff)
downloadnextcloud-server-808cf39961e88352a2d1551a9063f58fb9093e3f.tar.gz
nextcloud-server-808cf39961e88352a2d1551a9063f58fb9093e3f.zip
change menu's orientation to make sure it is completly visible
Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
-rw-r--r--core/css/styles.scss1
-rw-r--r--core/js/oc-dialogs.js2
-rw-r--r--core/templates/filepicker.html2
3 files changed, 3 insertions, 2 deletions
diff --git a/core/css/styles.scss b/core/css/styles.scss
index fd5702787ae..541c0d4a85d 100644
--- a/core/css/styles.scss
+++ b/core/css/styles.scss
@@ -778,6 +778,7 @@ code {
.menu {
top:100%;
margin:10px;
+ margin-left: 0px;
form {
display:flex;
margin:10px;
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js
index dcdb339c37d..0ef371cd754 100644
--- a/core/js/oc-dialogs.js
+++ b/core/js/oc-dialogs.js
@@ -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');
diff --git a/core/templates/filepicker.html b/core/templates/filepicker.html
index d764ff377d7..b88c8f308de 100644
--- a/core/templates/filepicker.html
+++ b/core/templates/filepicker.html
@@ -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}>