summaryrefslogtreecommitdiffstats
path: root/core/js/jquery.ocdialog.js
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-10-20 13:10:26 +0200
committerMorris Jobke <hey@morrisjobke.de>2016-10-20 13:10:26 +0200
commitb3f2771d3c5feff7c400b0026560c90a58054b2d (patch)
treecfc8a057d0b6be70bb1492819a3b5cc85bc4124e /core/js/jquery.ocdialog.js
parent19e1ff1b0f8db0915921d0a2ecb3f68fa06cf9cb (diff)
downloadnextcloud-server-b3f2771d3c5feff7c400b0026560c90a58054b2d.tar.gz
nextcloud-server-b3f2771d3c5feff7c400b0026560c90a58054b2d.zip
Improve the styling
* remove the scrollbar (content did an overflow due to a min-width) * have proper padding on the right too - padding is 15px on all sides for .oc-dialog Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'core/js/jquery.ocdialog.js')
-rw-r--r--core/js/jquery.ocdialog.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js/jquery.ocdialog.js b/core/js/jquery.ocdialog.js
index e26555bd63c..66c7d9bd7f1 100644
--- a/core/js/jquery.ocdialog.js
+++ b/core/js/jquery.ocdialog.js
@@ -184,11 +184,11 @@
if (content_height> 0) {
this.element.css({
height: content_height + 'px',
- width: this.$dialog.innerWidth()-20 + 'px'
+ width: this.$dialog.innerWidth() - 30 + 'px'
});
} else {
this.element.css({
- width : this.$dialog.innerWidth() - 20 + 'px'
+ width : this.$dialog.innerWidth() - 30 + 'px'
});
}
},