Skip to content

Commit 0169498

Browse files
authored
fix(# 1374): divider font-size失效 (#1375)
1 parent 9866976 commit 0169498

File tree

1 file changed

+1
-1
lines changed
  • packages/taro-ui/src/components/divider

1 file changed

+1
-1
lines changed

packages/taro-ui/src/components/divider/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default class AtDivider extends React.Component<AtDividerProps> {
2626

2727
const fontStyle = {
2828
color: fontColor,
29-
'font-size': fontSize ? `${pxTransform(Number(fontSize))}` : ''
29+
'fontSize': fontSize ? `${pxTransform(Number(fontSize))}` : ''
3030
}
3131

3232
const lineStyle: React.CSSProperties = {

0 commit comments

Comments
 (0)