mirror of https://github.com/xwiki-labs/cryptpad
Show more than 5 entries in the upload table
This commit is contained in:
parent
12a45377e7
commit
9e60c8eb93
|
@ -17,6 +17,8 @@
|
|||
z-index: 1000000; //Z file upload table container
|
||||
display: none;
|
||||
color: darken(@colortheme_drive-bg, 10%);
|
||||
max-height: 180px;
|
||||
overflow-y: auto;
|
||||
|
||||
@media screen and (max-width: @browser_media-medium-screen) {
|
||||
left: 5vw; right: 5vw; bottom: 5vw;
|
||||
|
@ -26,6 +28,9 @@
|
|||
display: flex;
|
||||
background-color: darken(@colortheme_modal-bg, 10%);
|
||||
font-weight: bold;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1;
|
||||
.cp-fileupload-header-title {
|
||||
padding: 0.25em 0.5em;
|
||||
flex-grow: 1;
|
||||
|
|
|
@ -227,7 +227,7 @@ define([
|
|||
var $tr = $('<tr>', {id: id}).appendTo($table);
|
||||
var $lines = $table.find('tr[id]');
|
||||
if ($lines.length > 5) {
|
||||
$lines.slice(0, $lines.length - 5).remove();
|
||||
//$lines.slice(0, $lines.length - 5).remove();
|
||||
}
|
||||
|
||||
var $cancel = $('<span>', {'class': 'cp-fileupload-table-cancel-button fa fa-times'}).click(function () {
|
||||
|
|
Loading…
Reference in New Issue