diff options
| author | Pitu <[email protected]> | 2020-04-10 23:40:22 +0900 |
|---|---|---|
| committer | Pitu <[email protected]> | 2020-04-10 23:40:22 +0900 |
| commit | a957713e81eddf280b547de523b579bc16acde32 (patch) | |
| tree | 6de8aa2f7435f8602d194c0926ca9e51e897aeb6 /src/site/components/grid | |
| parent | This commit adds a bunch of features for admins: (diff) | |
| download | host.fuwn.me-a957713e81eddf280b547de523b579bc16acde32.tar.xz host.fuwn.me-a957713e81eddf280b547de523b579bc16acde32.zip | |
chore: update deps
Diffstat (limited to 'src/site/components/grid')
| -rw-r--r-- | src/site/components/grid/Grid.vue | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/site/components/grid/Grid.vue b/src/site/components/grid/Grid.vue index 2e2f911..ca3d0f9 100644 --- a/src/site/components/grid/Grid.vue +++ b/src/site/components/grid/Grid.vue @@ -26,6 +26,7 @@ font-size: 2rem; pointer-events: none; opacity: .75; + max-width: 150px; } div.actions { @@ -146,6 +147,8 @@ <a :href="`${item.url}`" target="_blank"> <img :src="item.thumb ? item.thumb : blank"> + <span v-if="!item.thumb && item.name" + class="extension">{{ item.name.split('.').pop() }}</span> </a> </template> <template v-else> |