Browse Source

fix: add max height to avoid overflow

pull/8426/head
Pranav C 7 months ago
parent
commit
e11991ac80
  1. 2
      packages/nc-gui/components/cell/attachment/Image.vue

2
packages/nc-gui/components/cell/attachment/Image.vue

@ -16,7 +16,7 @@ const onError = () => index.value++
<template> <template>
<LazyNuxtImg <LazyNuxtImg
v-if="index < props.srcs.length" v-if="index < props.srcs.length"
class="m-auto h-full w-auto object-cover" class="m-auto h-full max-h-full w-auto object-cover"
:src="props.srcs[index]" :src="props.srcs[index]"
:alt="props?.alt || ''" :alt="props?.alt || ''"
placeholder placeholder

Loading…
Cancel
Save