summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-01-24 15:18:48 +0100
committernextcloud-command <nextcloud-command@users.noreply.github.com>2022-03-07 13:03:18 +0000
commit53f379fe3fe919c2879f5d4678349126c41b88ae (patch)
treefa31d4eba7a202a42e7f2c3e106f0cb7da160ebc /core
parentc2d759ddecad69698bfedbfe8d7a2826a92e29dd (diff)
downloadnextcloud-server-53f379fe3fe919c2879f5d4678349126c41b88ae.tar.gz
nextcloud-server-53f379fe3fe919c2879f5d4678349126c41b88ae.zip
Center dialog new file menu
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'core')
-rw-r--r--core/css/styles.scss12
-rw-r--r--core/src/OC/dialogs.js1
-rw-r--r--core/src/jquery/css/jquery.ocdialog.scss2
3 files changed, 6 insertions, 9 deletions
diff --git a/core/css/styles.scss b/core/css/styles.scss
index 3d21967a27e..ad7d9d1666b 100644
--- a/core/css/styles.scss
+++ b/core/css/styles.scss
@@ -733,9 +733,8 @@ code {
.dirtree {
flex-wrap: wrap;
- padding-left: 12px;
- padding-right: 0px;
box-sizing: border-box;
+ padding-right: 140px;
div:first-child a {
background-image: var(--icon-home-000);
@@ -810,12 +809,11 @@ code {
}
.menu {
- top:100%;
- margin:10px;
- margin-left: 1px;
+ top: 100%;
+ margin-top: 10px;
form {
- display:flex;
- margin:10px;
+ display: flex;
+ margin: 10px;
}
}
diff --git a/core/src/OC/dialogs.js b/core/src/OC/dialogs.js
index 8efcd4078dd..cb4c0f9d276 100644
--- a/core/src/OC/dialogs.js
+++ b/core/src/OC/dialogs.js
@@ -353,7 +353,6 @@ const Dialogs = {
$form.submit()
})
-
/**
* Checks whether the given file name is valid.
*
diff --git a/core/src/jquery/css/jquery.ocdialog.scss b/core/src/jquery/css/jquery.ocdialog.scss
index b7e762f4cb6..280e9ac5f35 100644
--- a/core/src/jquery/css/jquery.ocdialog.scss
+++ b/core/src/jquery/css/jquery.ocdialog.scss
@@ -3,7 +3,7 @@
color: var(--color-text-light);
border-radius: var(--border-radius-large);
box-shadow: 0 0 30px var(--color-box-shadow);
- padding: 15px;
+ padding: 24px;
z-index: 10000;
font-size: 100%;
box-sizing: border-box;