From 3162dd3b51c67ec9b24c2b95f2adecf71e20969c Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 4 Dec 2017 23:38:31 +0800 Subject: [PATCH] site: improve changelog style --- CHANGELOG.en-US.md | 4 ++-- CHANGELOG.zh-CN.md | 2 +- site/theme/static/markdown.less | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index caa3908e3c..3908291095 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -23,10 +23,10 @@ Learn more in the [Ant Design 3.0 announcement post](https://medium.com/ant-desi ### Major Changes -- New [color system](https://ant.design/docs/spec/colors#Color-Palettes), We changed our primary color from 『`#108EE9`』 to 『`#1890FF`』, we called the new primary color "拂晓蓝(Daybreak blue)" which means the color of the sky at daybreak. +- New [color system](https://ant.design/docs/spec/colors#Color-Palettes), We changed our primary color from 『`#108EE9`』 to 『`#1890FF`』, we called the new primary color "拂晓蓝 (Daybreak Blue)" which means the color of the sky at daybreak. - New design of components. - Increased the base font size from 12px to 14px. -- Changed default locale to en_US. +- Changed default locale to `en_US`. - Support React 16. - Better TypeScript support. - New [List](https://ant.design/components/list/) component. diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index 606182314d..71e70635bf 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -23,7 +23,7 @@ timeline: true ### 主要变化 -- 全新的[色彩系统](https://ant.design/docs/spec/colors-cn#Color-Palettes), 组件主色由 『`#108EE9`』 改为 『`#1890FF`』,新主色我们称之为“拂晓蓝”。 +- 全新的[色彩系统](https://ant.design/docs/spec/colors-cn#Color-Palettes),组件主色由 『`#108EE9`』 改为 『`#1890FF`』,新主色我们称之为『拂晓蓝』。 - 全新的视觉样式和组件尺寸,更现代更美观。 - 基础字体大小由 `12px` 增大到 `14px`。 - 默认语言由中文改为英文。 diff --git a/site/theme/static/markdown.less b/site/theme/static/markdown.less index 63e3d29e20..5d1170d1ac 100644 --- a/site/theme/static/markdown.less +++ b/site/theme/static/markdown.less @@ -106,7 +106,7 @@ background: #f2f4f5; margin: 0; padding: 0; - font-size: @font-size-base; + font-size: @font-size-base - 1px; color: @site-text-color; overflow: auto; } @@ -303,6 +303,7 @@ // For Changelog .markdown ul.ant-timeline { + line-height: 2; li.ant-timeline-item { list-style: none; margin: 0;