Skip to content

Commit

Permalink
fix(# 1374): divider font-size失效 (#1375)
Browse files Browse the repository at this point in the history
  • Loading branch information
DeyuanTan authored Sep 30, 2022
1 parent 9866976 commit 0169498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/taro-ui/src/components/divider/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default class AtDivider extends React.Component<AtDividerProps> {

const fontStyle = {
color: fontColor,
'font-size': fontSize ? `${pxTransform(Number(fontSize))}` : ''
'fontSize': fontSize ? `${pxTransform(Number(fontSize))}` : ''
}

const lineStyle: React.CSSProperties = {
Expand Down

0 comments on commit 0169498

Please sign in to comment.