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;
width:100%;
}
#oc-dialog-filepicker-content #filestable.filelist {
/* prevent the filepicker to overflow */
min-width: initial;
}
#oc-dialog-filepicker-content .filelist td {
padding: 14px;

View File

@ -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'
});
}
},