From: Jakobus Schürz <jakobus.schuerz@schuerz.at>
Date: Mon, 13 Mar 2023 09:48:16 +0000 (+0100)
Subject: move upload-button in filebrowser above previews
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=95cb66b6bf5c9a558e5cda57012eed58ccd0511c;p=friendica.git

move upload-button in filebrowser above previews

its annoying, when you open filebrowser to upload an image or file, and
the button moves away under your finger/cursor, in case of loading
preview images slower than the form itself.

just change position of button (class="upload") and browser itself
(class="media") disannoys the behaviour.
---

diff --git a/view/theme/frio/templates/media/browser.tpl b/view/theme/frio/templates/media/browser.tpl
index 71974eeea8..37581b805b 100644
--- a/view/theme/frio/templates/media/browser.tpl
+++ b/view/theme/frio/templates/media/browser.tpl
@@ -22,6 +22,10 @@
 			</div>
 		</ol>
 
+		<div class="upload">
+			<button id="upload-{{$type}}" type="button" class="btn btn-primary">{{$upload}}</button>
+		</div>
+
 		<div class="media">
 
 			{{* List of photo albums *}}
@@ -52,9 +56,6 @@
 			</div>
 		</div>
 
-		<div class="upload">
-			<button id="upload-{{$type}}" type="button" class="btn btn-primary">{{$upload}}</button>
-		</div>
 	</div>
 
 	{{* This part contains the conent loader icon which is visible when new conent is loaded *}}