Fix text widget alignment (#260)

This commit is contained in:
Prasad Walvekar 2021-06-22 20:02:22 +05:30 committed by GitHub
parent 2eaff6e8b6
commit cf4b9ce8ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View file

@ -35,7 +35,9 @@ export const Text = function Text({
const computedStyles = {
color,
width,
height
height,
display: 'flex',
alignItems: 'center'
};
return (

View file

@ -460,8 +460,8 @@ export const componentTypes = [
loadingState: { type: 'code', displayName: 'Show loading state' }
},
defaultSize: {
width: 210,
height: 24
width: 200,
height: 30
},
events: [