mirror of
https://github.com/nextcloud/server.git
synced 2026-07-15 13:01:34 -04:00
Merge pull request #10085 from owncloud/fixes-for-filepicker
Fixes for filepicker
This commit is contained in:
commit
b3157172a0
3 changed files with 17 additions and 3 deletions
|
|
@ -152,6 +152,15 @@ table.multiselect thead {
|
|||
}
|
||||
|
||||
|
||||
/* do not show dates in filepicker */
|
||||
#oc-dialog-filepicker-content .filelist .date {
|
||||
display: none;
|
||||
}
|
||||
#oc-dialog-filepicker-content .filelist .filename {
|
||||
max-width: 80%;
|
||||
}
|
||||
|
||||
|
||||
/* fix controls bar jumping when navigation is slid out */
|
||||
.snapjs-left #app-navigation-toggle,
|
||||
.snapjs-left #controls {
|
||||
|
|
|
|||
|
|
@ -767,14 +767,19 @@ a.bookmarklet { background-color:#ddd; border:1px solid #ccc; padding:5px;paddin
|
|||
#oc-dialog-filepicker-content .filelist .filename {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
max-width: 60%;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
#oc-dialog-filepicker-content .filelist img {
|
||||
margin: 2px 1em 0 4px;
|
||||
}
|
||||
#oc-dialog-filepicker-content .filelist .date {
|
||||
float: right;
|
||||
margin-right: 1em;
|
||||
margin-top: 8px;
|
||||
margin-right: 10px;
|
||||
margin-top: 0;
|
||||
padding-top: 9px;
|
||||
}
|
||||
#oc-dialog-filepicker-content .filepicker_element_selected { background-color:lightblue;}
|
||||
.ui-dialog {position:fixed !important;}
|
||||
|
|
|
|||
|
|
@ -206,7 +206,7 @@ var OCdialogs = {
|
|||
|
||||
self.$filePicker.ocdialog({
|
||||
closeOnEscape: true,
|
||||
width: (4/9)*$(document).width(),
|
||||
width: (4/5)*$(document).width(),
|
||||
height: 420,
|
||||
modal: modal,
|
||||
buttons: buttonlist,
|
||||
|
|
|
|||
Loading…
Reference in a new issue