diff --git a/assets/sass/layout.scss b/assets/sass/layout.scss index 65f7b4a..e489bdf 100644 --- a/assets/sass/layout.scss +++ b/assets/sass/layout.scss @@ -667,27 +667,29 @@ button, .button { // --- Tables // --- td.actions { - display: flex; - flex-direction: row; - justify-content: center; - align-items: center; + > * { + display: flex; + flex-direction: row; + justify-content: center; + align-items: center; - form { - padding: 0; - display: inline; - } - - button, .button { - margin: 0; - padding: 8px; - - .feather { - margin-right: 0; + form { + padding: 0; + display: inline; } - } - > *:not(:first-child) { - margin-left: 8px; + button, .button { + margin: 0; + padding: 8px; + + .feather { + margin-right: 0; + } + } + + > *:not(:first-child) { + margin-left: 8px; + } } } @@ -929,19 +931,21 @@ td.actions { } .table-col-grow-cell { - display: flex; - flex-direction: row; - > * { - width: 0; - flex-grow: 1; - white-space: nowrap; - text-overflow: ellipsis; - } + display: flex; + flex-direction: row; - * { - overflow: hidden; - text-overflow: ellipsis; + > * { + width: 0; + flex-grow: 1; + white-space: nowrap; + text-overflow: ellipsis; + } + + * { + overflow: hidden; + text-overflow: ellipsis; + } } } diff --git a/views/file-uploader.njk b/views/file-uploader.njk index e691787..f9ba8f1 100644 --- a/views/file-uploader.njk +++ b/views/file-uploader.njk @@ -76,16 +76,18 @@ {{ (file.size / (1024 * 1024)).toFixed(2) }}MB {% if file.expires_at %}{{ file.expires_at.toISOString() }}{% else %}Never{% endif %} - {% if file.shouldBeDeleted() %} - Pending deletion - {% else %} - +
+ {% if file.shouldBeDeleted() %} + Pending deletion + {% else %} + -
- {{ macros.csrf(getCsrfToken) }} - -
- {% endif %} +
+ {{ macros.csrf(getCsrfToken) }} + +
+ {% endif %} +
{% else %}