File upload list: hide size and expires at columns on mobile

This commit is contained in:
Alice Gaudon 2021-04-22 20:14:53 +02:00
parent 4573846c7b
commit d5aa2c70db
2 changed files with 17 additions and 1 deletions

View File

@ -1,2 +1,18 @@
@import "layout"; @import "layout";
@import "fm"; @import "fm";
.file-upload-table {
@media (max-width: 550px) {
> thead > tr > th:nth-child(3),
> tbody > tr > td:nth-child(3) {
display: none;
}
}
@media (max-width: 785px) {
> thead > tr > th:nth-child(4),
> tbody > tr > td:nth-child(4) {
display: none;
}
}
}

View File

@ -57,7 +57,7 @@
{{ macros.paginate(files.pagination, 'file-uploader', 3) }} {{ macros.paginate(files.pagination, 'file-uploader', 3) }}
<table class="data-table"> <table class="data-table file-upload-table">
<thead> <thead>
<tr> <tr>
<th>#</th> <th>#</th>