mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 08:58:26 +00:00
Fix text widget alignment (#260)
This commit is contained in:
parent
2eaff6e8b6
commit
cf4b9ce8ee
2 changed files with 5 additions and 3 deletions
|
|
@ -35,7 +35,9 @@ export const Text = function Text({
|
|||
const computedStyles = {
|
||||
color,
|
||||
width,
|
||||
height
|
||||
height,
|
||||
display: 'flex',
|
||||
alignItems: 'center'
|
||||
};
|
||||
|
||||
return (
|
||||
|
|
|
|||
|
|
@ -460,8 +460,8 @@ export const componentTypes = [
|
|||
loadingState: { type: 'code', displayName: 'Show loading state' }
|
||||
},
|
||||
defaultSize: {
|
||||
width: 210,
|
||||
height: 24
|
||||
width: 200,
|
||||
height: 30
|
||||
},
|
||||
events: [
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue