diff --git a/assets/styles/app.css b/assets/styles/app.css index 80178fa..3baa880 100644 --- a/assets/styles/app.css +++ b/assets/styles/app.css @@ -64,6 +64,16 @@ dialog[data-dialog-target="dialog"][closing] { animation: fade-out 200ms forwards; } +.r-tablecell { + display: none; +} + +@media screen and (min-width: 768px) { + .r-tablecell { + display: inline-table; + } +} + .options-table { display: flex; diff --git a/templates/components/DownloadList.html.twig b/templates/components/DownloadList.html.twig index 617b327..176de78 100644 --- a/templates/components/DownloadList.html.twig +++ b/templates/components/DownloadList.html.twig @@ -15,11 +15,11 @@ Title + class="px-6 py-3 text-start text-xs font-medium text-stone-500 uppercase dark:text-stone-800 truncate {{ isWidget == true ? "hidden" : "r-tablecell" }}"> Filename + class="px-6 py-3 text-start text-xs font-medium text-stone-500 uppercase dark:text-stone-800 truncate {{ isWidget == true ? "hidden" : "r-tablecell" }}"> Media type + class="px-6 py-3 text-start text-xs font-medium text-gray-500 uppercase dark:text-stone-800"> diff --git a/templates/components/DownloadListRow.html.twig b/templates/components/DownloadListRow.html.twig index ab31221..03a4941 100644 --- a/templates/components/DownloadListRow.html.twig +++ b/templates/components/DownloadListRow.html.twig @@ -1,7 +1,7 @@ {{ download.title }} @@ -11,11 +11,11 @@ {% endif %} - - {{ download.filename }} + + {{ download.filename }} - + {{ download.mediaType }} diff --git a/templates/components/MonitorList.html.twig b/templates/components/MonitorList.html.twig index 88c0231..681ea93 100644 --- a/templates/components/MonitorList.html.twig +++ b/templates/components/MonitorList.html.twig @@ -41,7 +41,7 @@ {% if this.monitors.items|length > 0 %} {% for monitor in this.monitors.items %} - + {% endfor %} {% if this.isWidget and this.monitors.items|length > 5 %}