.preViewContainer{ width: 100%; @minHeight: calc(100vh - 240px); min-height: @minHeight; padding: 6px 12px; .previewBox{ width: 100%; height: max(@minHeight, 720px); background: #f5eebb; } }