chore: limit trace-viewer minimum viewport (#29850)

https://github.com/microsoft/playwright/issues/29100
This commit is contained in:
Max Schmitt 2024-03-07 22:42:21 +01:00 committed by GitHub
parent 9ca895dea0
commit 84d3308969
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View File

@ -23,6 +23,7 @@
cursor: text; cursor: text;
user-select: none; user-select: none;
margin-left: 10px; margin-left: 10px;
overflow-x: clip;
} }
.timeline-divider { .timeline-divider {

View File

@ -122,3 +122,10 @@ body.dark-mode .drop-target {
text-overflow: ellipsis; text-overflow: ellipsis;
text-wrap: nowrap; text-wrap: nowrap;
} }
/* Limit to a reasonable minimum viewport */
html, body {
min-width: 550px;
min-height: 450px;
overflow: auto;
}