Merge pull request #28601 from overleaf/mj-pdf-error-state-scroll

[web] Allow scrolling in PDF error state in case of overflow

GitOrigin-RevId: 3591f01980c3c95691eca9437b8eed0e504f27e6
This commit is contained in:
Mathias Jakobsen
2025-09-19 13:44:33 +01:00
committed by Copybot
parent 73cfd65f83
commit b5149591d1

View File

@@ -1,10 +1,12 @@
.pdf-error-state {
overflow-y: auto;
position: absolute;
inset: var(--toolbar-small-height) 0 0 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
justify-content: safe center;
padding: var(--spacing-06);
background-color: var(--pdf-bg);
}