fix: keep Tangled string previews at a fixed height
122345679891011121 unmodified lineimport * as css from './index.css';import { previewHeight } from './metrics';
export function TangledStringPlaceholder({ className }: { className?: string }) { return ( <div className={className}> <div className={css.card}> <div className={css.header} /> <div className={css.codeArea} style={{ height: previewHeight }} /> <div className={css.codeArea} /> <div className={css.footer} /> </div> </div> );1 unmodified line55 unmodified lines5657585960616263646566676868697071727338 unmodified lines55 unmodified lines});
export const codeArea = style({ backgroundColor: colors.contrast_25, height: previewHeight,});
export const message = style({ display: 'flex', flexDirection: 'column', alignItems: 'center', justifyContent: 'center', boxSizing: 'border-box', minHeight: previewHeight, height: '100%', padding: space.md, textAlign: 'center',});
38 unmodified lines