Browse Source

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

develop
Alice Gaudon 3 weeks ago
parent
commit
d5aa2c70db
2 changed files with 17 additions and 1 deletions
  1. +16
    -0
      assets/sass/app.scss
  2. +1
    -1
      views/file-uploader.njk

+ 16
- 0
assets/sass/app.scss View File

@ -1,2 +1,18 @@
@import "layout";
@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;
}
}
}

+ 1
- 1
views/file-uploader.njk View File

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


Loading…
Cancel
Save