Merge pull request #5520 from overleaf/ae-log-entry-height

Fix log entry height in new PDF preview

GitOrigin-RevId: a9b7cae352da87f391c66720b109e3d9fd00fe52
This commit is contained in:
Alf Eaton 2021-10-21 09:09:33 +01:00 committed by Copybot
parent d4035c4f1e
commit bd3d0d124d

View file

@ -24,7 +24,7 @@ export default function PdfLogEntryRawContent({
<div <div
className="expand-collapse-container" className="expand-collapse-container"
style={{ style={{
height: expanded ? 'auto' : collapsedSize, height: expanded || !needsExpander ? 'auto' : collapsedSize,
}} }}
> >
<pre className="log-entry-content-raw" ref={containerRef}> <pre className="log-entry-content-raw" ref={containerRef}>