This repository has been archived on 2025-12-24. You can view files and clone it, but cannot push or open issues or pull requests.
site-template/packages/imagetoolsOSR/api/utils/getLayoutStyles.js
2025-03-07 14:59:06 +01:00

10 lines
182 B
JavaScript

// @ts-check
export default function getLayoutStyles({
layout = null,
isBackgroundImage = false,
}) {
return isBackgroundImage ?
"max-width: 100%; height: 100%;" : "" ;
}