Skip to content

Commit 4fa1d0f

Browse files
committed
fix: Fix the layout confusion caused by too long code #1404
1 parent 78df776 commit 4fa1d0f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

ui/src/index.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ img[src=''] {
5252
visibility: hidden !important;
5353
}
5454

55+
.page-main {
56+
overflow-x: auto;
57+
}
58+
5559
.btn-link {
5660
text-decoration: none;
5761
}
@@ -280,6 +284,8 @@ img[src=''] {
280284
color: var(--an-212529);
281285
padding: 2px 4px;
282286
border-radius: 0.25rem;
287+
overflow-wrap: normal;
288+
white-space: inherit;
283289
}
284290
}
285291
pre {
@@ -288,6 +294,11 @@ img[src=''] {
288294
padding: 1rem;
289295
max-height: 38rem;
290296
white-space: pre-wrap;
297+
overflow: auto;
298+
code {
299+
overflow-wrap: normal;
300+
white-space: inherit;
301+
}
291302
}
292303
blockquote {
293304
border-left: 0.25rem solid #ced4da;

0 commit comments

Comments
 (0)