Fixed docs image ratio (#507)

This commit is contained in:
Zai Shi 2025-03-05 02:10:35 +01:00 committed by GitHub
parent 2bf36a683f
commit 9c624459d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 23 additions and 2 deletions

View File

@ -142,29 +142,50 @@ tr.stack-clickable-row-missing {
}
.stack-50h {
aspect-ratio: unset !important;
height: unset !important;
width: unset !important;
height: 50px !important;
}
.stack-100h {
aspect-ratio: unset !important;
height: unset !important;
width: unset !important;
height: 100px !important;
}
.stack-150h {
aspect-ratio: unset !important;
height: unset !important;
width: unset !important;
height: 150px !important;
}
.stack-200h {
aspect-ratio: unset !important;
height: unset !important;
width: unset !important;
height: 200px !important;
}
.stack-250h {
aspect-ratio: unset !important;
height: unset !important;
width: unset !important;
height: 250px !important;
}
.stack-300h {
aspect-ratio: unset !important;
height: unset !important;
width: unset !important;
height: 300px !important;
}
.stack-350h {
aspect-ratio: unset !important;
height: unset !important;
width: unset !important;
height: 350px !important;
}

View File

@ -5,7 +5,7 @@
"repository": "",
"scripts": {
"pre-no-codegen": "npx -y only-allow pnpm",
"pre-preinstall": "npx -y only-allow pnpm && node -e \"if(process.env.STACK_SKIP_TEMPLATE_GENERATION !== 'true') require('child_process').execSync('npx --package=ts-node ts-node ./scripts/generate-sdks.ts')\"",
"pre-preinstall": "npx -y only-allow pnpm && node -e \"if(process.env.STACK_SKIP_TEMPLATE_GENERATION !== 'true') require('child_process').execSync('npx --package=tsx tsx ./scripts/generate-sdks.ts')\"",
"pre": "pnpm pre-preinstall && node -e \"if(process.env.STACK_SKIP_TEMPLATE_GENERATION !== 'true') { require('child_process').execSync('pnpm run generate-docs') }\"",
"preinstall": "pnpm pre-preinstall",
"typecheck": "pnpm pre && turbo typecheck",
@ -52,7 +52,7 @@
"verify-data-integrity": "pnpm pre && pnpm -C apps/backend run verify-data-integrity",
"generate-openapi": "pnpm pre && turbo run generate-openapi",
"generate-keys": "pnpm pre && turbo run generate-keys",
"generate-sdks": "npx --package=ts-node ts-node ./scripts/generate-sdks.ts",
"generate-sdks": "npx --package=tsx tsx ./scripts/generate-sdks.ts",
"generate-sdks:watch": "chokidar --silent -c 'pnpm run generate-sdks' './packages/template' --ignore './packages/template/package.json' --ignore '**/node_modules/**' --ignore '**/dist/**' --ignore '**/.turbo/**' --throttle 2000",
"generate-docs": "tsx ./scripts/generate-docs.ts",
"generate-docs:watch": "chokidar --silent -c 'pnpm run generate-docs' './docs/fern/docs/pages-template' './docs/fern/docs-template.yml' --throttle 2000"