]> git.ipfire.org Git - ipfire.org.git/commitdiff
nopaste: Fix download button
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 22 Feb 2024 19:12:43 +0000 (19:12 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 22 Feb 2024 19:12:43 +0000 (19:12 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/nopaste/view.html

index dcc4cd5a0440a890f1cf456dc6f8ceff21b4440c..b0a88117b1c21e2cad662ef3d6f97c83af4682c2 100644 (file)
                        </div>
                {% end %}
 
-               <div class="block">
-                       <a class="button is-primary has-text-weight-bold" href="/raw/{{ entry.uuid }}">
-                               <span class="fas fa-file-download"></span>
-                               {{ _("Download") }} ({{ format_size(entry.size) }})
+               <div class="buttons">
+                       <a class="button is-primary is-fullwidth" href="/raw/{{ entry.uuid }}">
+                               <span class="icon-text">
+                                       <span class="icon">
+                                               <i class="fas fa-file-download"></i>
+                                       </span>
+                                       <span>{{ _("Download") }} ({{ format_size(entry.size) }})</span>
+                               </span>
                        </a>
                </div>
        </div>