Even out the file manager rows
This commit is contained in:
parent
e99ac7abe8
commit
0f8dcabb45
2 changed files with 6 additions and 6 deletions
|
@ -12,8 +12,8 @@
|
||||||
<Icon name="link2" v-else/>
|
<Icon name="link2" v-else/>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-1">{{file.name}}</div>
|
<div class="flex-1">{{file.name}}</div>
|
||||||
<div class="flex-1 text-right text-neutral-600">{{readableSize(file.size)}}</div>
|
<div class="w-1/6 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/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>
|
<div class="flex-none icon cursor-pointer" v-on:click="showContextMenu" ref="menuTriggerIcon" @click.stop>
|
||||||
<Icon name="more-vertical" class="text-neutral-500"/>
|
<Icon name="more-vertical" class="text-neutral-500"/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -27,8 +27,8 @@
|
||||||
<Icon name="folder"/>
|
<Icon name="folder"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-1">{{file.name}}</div>
|
<div class="flex-1">{{file.name}}</div>
|
||||||
<div class="flex-1 text-right text-neutral-600"></div>
|
<div class="w-1/6 text-right text-neutral-600"></div>
|
||||||
<div class="flex-1 text-right text-neutral-600">{{formatDate(file.modified)}}</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">
|
<div class="flex-none icon" v-on:click="showContextMenu" ref="menuTriggerIcon">
|
||||||
<Icon name="more-vertical" class="text-neutral-500"/>
|
<Icon name="more-vertical" class="text-neutral-500"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -27,8 +27,8 @@
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<div class="flex-none w-8"></div>
|
<div class="flex-none w-8"></div>
|
||||||
<div class="flex-1">Name</div>
|
<div class="flex-1">Name</div>
|
||||||
<div class="flex-1 text-right">Size</div>
|
<div class="w-1/6">Size</div>
|
||||||
<div class="flex-1 text-right">Modified</div>
|
<div class="w-1/5">Modified</div>
|
||||||
<div class="flex-none"></div>
|
<div class="flex-none"></div>
|
||||||
</div>
|
</div>
|
||||||
<div v-for="file in Array.concat(directories, files)">
|
<div v-for="file in Array.concat(directories, files)">
|
||||||
|
|
Loading…
Reference in a new issue