This commit is contained in:
syuilo 2017-12-19 13:18:17 +09:00
parent 7a17723a0c
commit 332d9a98eb
1 changed files with 4 additions and 2 deletions

View File

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