From 8503e9667d9c441f5bf0f7e26d509c265d995574 Mon Sep 17 00:00:00 2001 From: "ester.zhou" Date: Tue, 18 Apr 2023 17:55:18 +0800 Subject: [PATCH] fixed b8c9885 from https://gitee.com/esterzhou/docs/pulls/17381 Update docs (16460) Signed-off-by: ester.zhou --- .../js-service-widget-ui/js-service-widget-basic-span.md | 2 +- .../js-service-widget-ui/js-service-widget-basic-text.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/en/application-dev/reference/js-service-widget-ui/js-service-widget-basic-span.md b/en/application-dev/reference/js-service-widget-ui/js-service-widget-basic-span.md index 73f768ddf4..c4a63cc5d1 100644 --- a/en/application-dev/reference/js-service-widget-ui/js-service-widget-basic-span.md +++ b/en/application-dev/reference/js-service-widget-ui/js-service-widget-basic-span.md @@ -23,7 +23,7 @@ The [universal attributes](js-service-widget-common-attributes.md) are supported | Name| Type| Default Value| Mandatory| Description| | -------- | -------- | -------- | -------- | -------- | | color | <color> | - | No| Font color of the modified text.| -| font-size | <length> | 30px | No| Font size of the modified text.| +| font-size | <length> | 16px | No| Font size of the modified text.| | font-style | string | normal | No| Font style of the modified text. For details, see **font-style** of the [**\**](js-service-widget-basic-text.md#styles) component.| | font-weight | number \| string | normal | No| Font weight of the modified text. For details, see **font-weight** of the [**\**](js-service-widget-basic-text.md##styles) component.| | text-decoration | string | none | No| Text decoration of the modified text. For details, see **text-decoration** of the [**\**](js-service-widget-basic-text.md#styles) component.| diff --git a/en/application-dev/reference/js-service-widget-ui/js-service-widget-basic-text.md b/en/application-dev/reference/js-service-widget-ui/js-service-widget-basic-text.md index 4465c52e7c..08c131e01a 100644 --- a/en/application-dev/reference/js-service-widget-ui/js-service-widget-basic-text.md +++ b/en/application-dev/reference/js-service-widget-ui/js-service-widget-basic-text.md @@ -25,7 +25,7 @@ In addition to the [universal styles](js-service-widget-common-styles.md), the f | Name| Type| Default Value| Mandatory| Description| | -------- | -------- | -------- | -------- | -------- | | color | <color> | - | No| Font color.| -| font-size | <length> | 30px | No| Font size.| +| font-size | <length> | 16px | No| Font size.| | letter-spacing | <length> | 0px | No| Character spacing (px).| | font-style | string | normal | No| Font style. Available values are as follows:
- **normal**: standard font style
- **italic**: italic font style| | font-weight | number \| string | normal | No| Font weight. For the number type, the value ranges from 100 to 900. The default value is 400. A larger value indicates a heavier font weight.
The value of the number type must be an integer multiple of 100.
The value of the string type can be **lighter**, **normal**, **bold**, or **bolder**.| -- GitLab