feat(editor): remove max-height restriction from mermaid preview container (#14882)

This PR fixes #14874 

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

## Release Notes

* **Bug Fixes**
* Removed height limitation on Mermaid diagram previews in code blocks,
allowing larger diagrams to render at their full size without being
constrained by a fixed maximum height.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Ahsan Khaleeq
2026-05-04 00:46:59 +05:00
committed by GitHub
parent fa66139230
commit a1800cf8b2

View File

@@ -50,7 +50,6 @@ export class MermaidPreview extends SignalWatcher(
.mermaid-preview-container {
width: 100%;
min-height: 300px;
max-height: 600px;
border: 1px solid ${unsafeCSSVarV2('layer/insideBorder/border')};
border-radius: 8px;
background: ${unsafeCSSVarV2('layer/background/primary')};