diff --git a/custom.css b/custom.css index f2af5b6ce4..592642213d 100644 --- a/custom.css +++ b/custom.css @@ -364,3 +364,21 @@ body:has(.router-quickstart-marker) [data-component-part="card-content"] [data-c body:has(.router-quickstart-marker) [data-component-part="card-content"] [data-component-part="code-block-root"][style*="height: 190px"] { height: 86px !important; } + +/* + * Cap article images at 750px. The full-bleed layout above removes Mintlify's + * content width limit, so an uncapped screenshot stretches to the full + * article width on large monitors. Images narrower than 750px keep their + * size, and click-to-zoom still opens the full-size image because the zoom + * overlay renders outside #content. To make one image smaller, set a Tailwind + * width on it, for example className="w-[400px]". + */ +#content img:not([data-component-part="card-image"]) { + max-width: min(100%, 750px); +} + +/* Shrink a Frame to its capped image (750px plus the Frame's 0.5rem padding + on each side) so the image does not float inside a full-width box. */ +#content .frame:has(img) { + max-width: calc(750px + 1rem); +} diff --git a/development/deploy/cloud-custom-builds.mdx b/development/deploy/cloud-custom-builds.mdx index c1cf459b58..229214e158 100644 --- a/development/deploy/cloud-custom-builds.mdx +++ b/development/deploy/cloud-custom-builds.mdx @@ -34,13 +34,13 @@ If your Workflow uses Custom Nodes Comfy Cloud doesn't support, Comfy Cloud show ![Comfy Cloud dialog for a Workflow with Custom Nodes Comfy Cloud doesn't have, listing the missing Nodes above the Read the docs link, the Build with your agent button, and the Create on Platform button](/images/development/deploy/run-on-custom-deployment.png) - ![Run on menu open next to the Run button, with Comfy Cloud checked, the message This workspace has no deployments yet, and Create a custom deployment below it](/images/development/deploy/run-on.png) - To create a Build without the dialog, click the cloud menu to the left of **Run**. By default, it's set to **Comfy Cloud**. - If your workspace has no deployments yet, select **Create a custom deployment**, and then click **Create on Platform**. - If it already has deployments, select **Manage deployments**. + + ![Run on menu open next to the Run button, with Comfy Cloud checked, the message This workspace has no deployments yet, and Create a custom deployment below it](/images/development/deploy/run-on.png) @@ -69,8 +69,10 @@ If your Workflow uses Custom Nodes Comfy Cloud doesn't support, Comfy Cloud show To change what goes into the Build, click **Customise build** instead and go through the steps. Two steps decide what the Build holds: -- **Which custom nodes does the build need?**: choose the Custom Nodes. -- **Which models ship inside the build?**: choose which models the Build includes. A model the Build doesn't include downloads the first time a job uses it. +- **Which custom nodes does the build need?** + - Select the Custom Nodes. +- **Which models ship inside the build?** + - Choose which models the Build includes. A model the Build doesn't include downloads the first time a job uses it. ### Publish the Build