Skip to content

Commit 9f8e5b4

Browse files
committed
fix: 调整代码面板宽度和字体大小
1 parent d58ae97 commit 9f8e5b4

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/App.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
}
1616

1717
.code-section {
18-
width: 380px;
18+
width: 420px;
1919
flex-shrink: 0;
2020
display: flex;
2121
flex-direction: column;

src/components/CodePanel/CodePanel.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353
flex: 1;
5454
overflow: auto;
5555
font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
56-
font-size: 13px;
57-
line-height: 1.6;
56+
font-size: 12px;
57+
line-height: 1.5;
5858
}
5959

6060
.code-line {

0 commit comments

Comments
 (0)