summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assets/sass/_models.sass2
-rw-r--r--components/FilePreview.vue2
2 files changed, 2 insertions, 2 deletions
diff --git a/assets/sass/_models.sass b/assets/sass/_models.sass
index 1d7688b..c23fb01 100644
--- a/assets/sass/_models.sass
+++ b/assets/sass/_models.sass
@@ -7,7 +7,7 @@
height: 30rem
.grid-mini
- grid-template-rows: 7rem
+ grid-auto-rows: minmax(min-content, max-content)
.card
h3
diff --git a/components/FilePreview.vue b/components/FilePreview.vue
index 5c0f3db..5b1c385 100644
--- a/components/FilePreview.vue
+++ b/components/FilePreview.vue
@@ -1,5 +1,5 @@
<template lang="pug">
- .file-preview.h-full
+ .file-preview.h-full.overflow-hidden
img.h-full.block.mx-auto(
v-if="isImage(path)"
:src="baseAPI + '' + path"