Browse Source

fix: add max height to avoid overflow

pull/8426/head
Pranav C 6 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>
<LazyNuxtImg
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]"
:alt="props?.alt || ''"
placeholder

Loading…
Cancel
Save