#md-layout { display: flex; min-width: 0; min-height: 0; } #md-layout > #workspace { flex: 1 1 0; } .md-editor #file-menu .md-menu-panel, .md-editor #tools-menu .md-menu-panel { max-height: calc(var(--app-height, 100dvh) - 76px); overflow-y: auto; overscroll-behavior: contain; } .md-document img { display: block; max-width: 100%; height: auto; margin-block: 12px; } @media print { #export-document-dialog { display: none !important; } #md-layout { display: block; } }