Skip to content

Commit

Permalink
Merge branch 'master' into refactor/sync-types
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakaryCode authored Jan 11, 2024
2 parents a23e390 + 391e080 commit 3de62b0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/use-h5.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ import '@tarojs/taro/html5.css'

### 第三方组件库的尺寸变小了一倍

Taro 默认会使用 `postcss` **把 px 按比例解析为 rpx**,详情请见 [《设计稿及尺寸单位》](size)
Taro 默认会使用 `postcss` **把 px 按比例解析为 rpx**,详情请见 [《设计稿及尺寸单位》](/docs/size)

但很多第三方 H5 组件库不需要解析 `px` 单位,用户可以配置 `@tarojs/plugin-html` 插件的 [pxtransformBlackList](use-h5#pxtransformblacklist) 选项进行过滤。

Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-3.x/use-h5.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ import '@tarojs/taro/html5.css'

### 第三方组件库的尺寸变小了一倍

Taro 默认会使用 `postcss` **把 px 按比例解析为 rpx**,详情请见 [《设计稿及尺寸单位》](size)
Taro 默认会使用 `postcss` **把 px 按比例解析为 rpx**,详情请见 [《设计稿及尺寸单位》](/docs/size)

但很多第三方 H5 组件库不需要解析 `px` 单位,用户可以配置 `@tarojs/plugin-html` 插件的 [pxtransformBlackList](use-h5#pxtransformblacklist) 选项进行过滤。

Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-4.x/use-h5.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ import '@tarojs/taro/html5.css'

### 第三方组件库的尺寸变小了一倍

Taro 默认会使用 `postcss` **把 px 按比例解析为 rpx**,详情请见 [《设计稿及尺寸单位》](size)
Taro 默认会使用 `postcss` **把 px 按比例解析为 rpx**,详情请见 [《设计稿及尺寸单位》](/docs/size)

但很多第三方 H5 组件库不需要解析 `px` 单位,用户可以配置 `@tarojs/plugin-html` 插件的 [pxtransformBlackList](use-h5#pxtransformblacklist) 选项进行过滤。

Expand Down

0 comments on commit 3de62b0

Please sign in to comment.