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 73f768ddf45b6f5bf2a729272fdcf2f545d308da..c4a63cc5d1587addfe657df4e78359bd40a2de27 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 4465c52e7c14c78826e74613c367aedeefb83f23..08c131e01a6494f5cec12e4c2c7d862a1ce8589b 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**.|