Skip to content

Commit fd85878

Browse files
committed
fix(web): don't break UI on long lines
When a very long line appears in the editor, it expands the code area and hides the other. This commit fixes it by adding a max-width on the columns on large displays.
1 parent bf25ec5 commit fd85878

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/jsMain/css/index.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ body {
161161
height: 100%;
162162
display: flex;
163163
flex-direction: column;
164+
max-width: calc(50% - 5px);
164165
}
165166

166167
.textarea {
@@ -203,6 +204,7 @@ body {
203204
}
204205
.textarea-column {
205206
margin-top: 20px;
207+
max-width: 100%;
206208
}
207209
#options > div {
208210
flex: 100%;

0 commit comments

Comments
 (0)