Skip to content

Commit

Permalink
✨ Feature: add file-name in tray-page
Browse files Browse the repository at this point in the history
ISSUES CLOSED: #1054
  • Loading branch information
Molunerfinn committed Jan 2, 2023
1 parent fc897ce commit c011654
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/renderer/pages/TrayPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<div v-for="item in files" :key="item.imgUrl" class="img-list">
<div class="upload-img__container" @click="copyTheLink(item)">
<img v-lazy="item.imgUrl" class="upload-img">
<div class="upload-img__title" :title="item.fileName">{{ item.fileName }}</div>
</div>
</div>
</div>
Expand Down Expand Up @@ -167,7 +168,7 @@ body::-webkit-scrollbar
top 20px
width 100%
.img-list
padding 8px 8px
padding 4px 8px
display flex
justify-content space-between
align-items center
Expand All @@ -184,8 +185,16 @@ body::-webkit-scrollbar
margin 0 auto
&__container
width 100%
padding 8px 10px
padding 8px 8px 4px
height 100%
&.upload
cursor not-allowed
&__title
text-align center
overflow hidden
text-overflow ellipsis
white-space nowrap
color #ddd
font-size 14px
margin-top 4px
</style>

0 comments on commit c011654

Please sign in to comment.