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>
This commit is contained in:
Morris Jobke 2016-10-20 13:10:26 +02:00
parent 19e1ff1b0f
commit b3f2771d3c
No known key found for this signature in database
GPG key ID: 9CE5ED29E7FCD38A
2 changed files with 6 additions and 2 deletions

View file

@ -786,6 +786,10 @@ a.bookmarklet { background-color:#ddd; border:1px solid #ccc; padding:5px;paddin
background-color:white; background-color:white;
width:100%; width:100%;
} }
#oc-dialog-filepicker-content #filestable.filelist {
/* prevent the filepicker to overflow */
min-width: initial;
}
#oc-dialog-filepicker-content .filelist td { #oc-dialog-filepicker-content .filelist td {
padding: 14px; padding: 14px;

View file

@ -184,11 +184,11 @@
if (content_height> 0) { if (content_height> 0) {
this.element.css({ this.element.css({
height: content_height + 'px', height: content_height + 'px',
width: this.$dialog.innerWidth()-20 + 'px' width: this.$dialog.innerWidth() - 30 + 'px'
}); });
} else { } else {
this.element.css({ this.element.css({
width : this.$dialog.innerWidth() - 20 + 'px' width : this.$dialog.innerWidth() - 30 + 'px'
}); });
} }
}, },