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.
This commit is contained in:
Jakobus Schürz 2023-03-13 10:48:16 +01:00
parent 13c8e0c80e
commit 95cb66b6bf
1 changed files with 4 additions and 3 deletions

View File

@ -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 *}}