Even out the file manager rows

This commit is contained in:
Dane Everitt 2019-05-27 18:45:37 -07:00
parent e99ac7abe8
commit 0f8dcabb45
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
2 changed files with 6 additions and 6 deletions

View file

@ -12,8 +12,8 @@
<Icon name="link2" v-else/>
</div>
<div class="flex-1">{{file.name}}</div>
<div class="flex-1 text-right text-neutral-600">{{readableSize(file.size)}}</div>
<div class="flex-1 text-right text-neutral-600">{{formatDate(file.modified)}}</div>
<div class="w-1/6 text-right text-neutral-600">{{readableSize(file.size)}}</div>
<div class="w-1/5 text-right text-neutral-600">{{formatDate(file.modified)}}</div>
<div class="flex-none icon cursor-pointer" v-on:click="showContextMenu" ref="menuTriggerIcon" @click.stop>
<Icon name="more-vertical" class="text-neutral-500"/>
</div>
@ -27,8 +27,8 @@
<Icon name="folder"/>
</div>
<div class="flex-1">{{file.name}}</div>
<div class="flex-1 text-right text-neutral-600"></div>
<div class="flex-1 text-right text-neutral-600">{{formatDate(file.modified)}}</div>
<div class="w-1/6 text-right text-neutral-600"></div>
<div class="w-1/5 text-right text-neutral-600">{{formatDate(file.modified)}}</div>
<div class="flex-none icon" v-on:click="showContextMenu" ref="menuTriggerIcon">
<Icon name="more-vertical" class="text-neutral-500"/>
</div>

View file

@ -27,8 +27,8 @@
<div class="header">
<div class="flex-none w-8"></div>
<div class="flex-1">Name</div>
<div class="flex-1 text-right">Size</div>
<div class="flex-1 text-right">Modified</div>
<div class="w-1/6">Size</div>
<div class="w-1/5">Modified</div>
<div class="flex-none"></div>
</div>
<div v-for="file in Array.concat(directories, files)">