mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-11 13:18:09 +09:00
✌️
This commit is contained in:
parent
6e75e57721
commit
42438bf085
@ -18,14 +18,16 @@
|
|||||||
<virtual each={ folder in folders }>
|
<virtual each={ folder in folders }>
|
||||||
<mk-drive-browser-folder class="folder" folder={ folder }/>
|
<mk-drive-browser-folder class="folder" folder={ folder }/>
|
||||||
</virtual>
|
</virtual>
|
||||||
<div class="padding" each={ folders }></div>
|
<!-- SEE: https://stackoverflow.com/questions/18744164/flex-box-align-last-row-to-grid -->
|
||||||
|
<div class="padding" each={ Array(10).fill(16) }></div>
|
||||||
<button if={ moreFolders }>%i18n:desktop.tags.mk-drive-browser.load-more%</button>
|
<button if={ moreFolders }>%i18n:desktop.tags.mk-drive-browser.load-more%</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="files" ref="filesContainer" if={ files.length > 0 }>
|
<div class="files" ref="filesContainer" if={ files.length > 0 }>
|
||||||
<virtual each={ file in files }>
|
<virtual each={ file in files }>
|
||||||
<mk-drive-browser-file class="file" file={ file }/>
|
<mk-drive-browser-file class="file" file={ file }/>
|
||||||
</virtual>
|
</virtual>
|
||||||
<div class="padding" each={ files }></div>
|
<!-- SEE: https://stackoverflow.com/questions/18744164/flex-box-align-last-row-to-grid -->
|
||||||
|
<div class="padding" each={ Array(10).fill(16) }></div>
|
||||||
<button if={ moreFiles } onclick={ fetchMoreFiles }>%i18n:desktop.tags.mk-drive-browser.load-more%</button>
|
<button if={ moreFiles } onclick={ fetchMoreFiles }>%i18n:desktop.tags.mk-drive-browser.load-more%</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="empty" if={ files.length == 0 && folders.length == 0 && !fetching }>
|
<div class="empty" if={ files.length == 0 && folders.length == 0 && !fetching }>
|
||||||
|
Loading…
Reference in New Issue
Block a user