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:
parent
19e1ff1b0f
commit
b3f2771d3c
|
@ -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;
|
||||
|
|
|
@ -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'
|
||||
});
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue