From 86f849357b1fc9b14f3df63a3b756e667dd25f91 Mon Sep 17 00:00:00 2001 From: Sivan Date: Tue, 25 Jun 2019 19:42:37 +0800 Subject: [PATCH] fix: line-height --- CHANGELOG.md | 5 +++++ lib/core/_mixins.scss | 2 +- package.json | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 26a1cde..2abd32a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,11 @@ > 1. 修订号:当你做了向下兼容的问题修正。 > 先行版本号及版本编译信息可以加到“主版本号.次版本号.修订号”的后面,作为延伸。 +## 2.0.0 + +- 修改所有位于 `$entry-selector` 块级元素为子选择器; +- 修改 `line-height-default` 为 `line-height-normal`,与 `font-size-normal` 统一。 + ## 1.0.0 - 增加 style-lint 检查; diff --git a/lib/core/_mixins.scss b/lib/core/_mixins.scss index b5608f4..7c4383e 100644 --- a/lib/core/_mixins.scss +++ b/lib/core/_mixins.scss @@ -60,7 +60,7 @@ // Component reset // included in minimal components @mixin component-reset() { - font: normal #{$font-size-normal}/#{$line-height-default} $font-family-base; + font: normal #{$font-size-normal}/#{$line-height-normal} $font-family-base; text-align: left; text-indent: 0; text-shadow: none; diff --git a/package.json b/package.json index 0cce851..0bda187 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hi-ui/core-css", - "version": "2.0.0-beta.2", + "version": "2.0.0-beta.3", "description": "HIUI core styles, include common reset, helper classes and typography. i18n supported.", "main": "index.scss", "directories": {