]> git.mxchange.org Git - friendica.git/commitdiff
move upload-button in filebrowser above previews
authorJakobus Schürz <jakobus.schuerz@schuerz.at>
Mon, 13 Mar 2023 09:48:16 +0000 (10:48 +0100)
committerJakobus Schürz <jakobus.schuerz@schuerz.at>
Mon, 13 Mar 2023 09:48:16 +0000 (10:48 +0100)
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.

view/theme/frio/templates/media/browser.tpl

index 71974eeea881400da7664abd42903d1ca96570e4..37581b805b7024fe4982f85a0cc8929e44879fe4 100644 (file)
                        </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 *}}