fix: added fix for the height of the model content to not overflow on smaller devices
This commit is contained in:
@@ -7,18 +7,18 @@ import {
|
||||
FieldLabel,
|
||||
cbModal,
|
||||
} from "@contentstack/venus-components"
|
||||
import ImageEditModal from "./ImageEditModal"
|
||||
import FullSizeImage from "./FullSizeImage"
|
||||
import { isInsertResponse, openImageVault } from "~/utils/imagevault"
|
||||
import FullSizeImage from "./FullSizeImage"
|
||||
import ImageEditModal from "./ImageEditModal"
|
||||
|
||||
import type { CbModalProps } from "@contentstack/venus-components/build/components/Modal/Modal"
|
||||
import type UiLocation from "@contentstack/app-sdk/dist/src/uiLocation"
|
||||
import type { CbModalProps } from "@contentstack/venus-components/build/components/Modal/Modal"
|
||||
import type { InsertResponse } from "~/types/imagevault"
|
||||
import type { Lang } from "~/types/lang"
|
||||
import type {
|
||||
EntryDataPublishDetails,
|
||||
ImageVaultDAMConfig,
|
||||
} from "~/utils/imagevault"
|
||||
import type { Lang } from "~/types/lang"
|
||||
|
||||
export type ImageVaultDAMProps = {
|
||||
sdk: UiLocation
|
||||
@@ -177,6 +177,7 @@ export default function ImageVaultDAM({
|
||||
style: {
|
||||
content: {
|
||||
maxHeight: "90dvh",
|
||||
maxWidth: "90dvw",
|
||||
width: "auto",
|
||||
},
|
||||
overlay: {},
|
||||
|
||||
Reference in New Issue
Block a user