# 改进代码块大小和配色方案

**URL:** https://meta.discourse.org/t/improved-code-block-sizing-color-scheme/333946
**Category:** UX
**Tags:** feedback, design-experiment
**Created:** [2024年十一月1日 03:10 UTC](https://meta.discourse.org/t/improved-code-block-sizing-color-scheme/333946 "2024-11-01T03:10:30Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![fitzy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fitzy/32/192549_2.png) [@fitzy](https://meta.discourse.org/u/fitzy)
#### Post date: [2024年十一月1日 03:10 UTC](https://meta.discourse.org/t/improved-code-block-sizing-color-scheme/333946/1 "2024-11-01T03:10:30Z")

</div>

我们正在尝试减小文本大小和行高，并增加代码块的高度，以提高大块代码的可读性。这主要对超过 20 行的大块代码存在问题。结果是可以在常规视口中看到更多代码。

**之前**

 ![image](https://global.discourse-cdn.com/meta/original/4X/9/4/5/9455b910ee57f7922facd9e5eef8710568086425.png)

**之后**

 ![image](https://global.discourse-cdn.com/meta/original/4X/e/3/a/e3a98a06faeea9cc5658110b7da7259fd80a3359.png)

更改已在此处完成：

[https://github.com/discourse-org/design-experiments/pull/75](https://github.com/discourse-org/design-experiments/pull/75)

---

_[View the full topic](https://meta.discourse.org/t/improved-code-block-sizing-color-scheme/333946)._
