Skip to content

Commit

Permalink
Merge pull request #1199 from FlowFuse/1193-regression-styling-no-lon…
Browse files Browse the repository at this point in the history
…ger-working-in-ui-text-node

[fix]: Font-size supporting issue in ui-text node
  • Loading branch information
joepavitt authored Aug 13, 2024
2 parents 860e934 + b217e9e commit d1a18f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cypress/fixtures/flows/dashboard-text.json
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@
"t": "set",
"p": "ui_update.fontSize",
"pt": "msg",
"to": "28px",
"to": "28",
"tot": "str"
}
],
Expand Down
2 changes: 1 addition & 1 deletion ui/src/widgets/ui-text/UIText.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default {
style () {
return {
'font-family': this.getProperty('font'),
'font-size': this.getProperty('fontSize'),
'font-size': `${this.getProperty('fontSize')}px`,
color: this.getProperty('color')
}
}
Expand Down

0 comments on commit d1a18f2

Please sign in to comment.