Skip to content

Commit

Permalink
fix(designable-next): fix card styles
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang committed Aug 14, 2021
1 parent ed9c4a4 commit 889a3af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions designable/next/src/schemas/Card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@ export const Card: ISchema & { Addition?: ISchema } = {
},
contentHeight: {
'x-decorator': 'FormItem',
'x-component': 'ValueInput',
'x-component-props': {
include: ['NUMBER', 'TEXT'],
},
'x-component': 'SizeInput',
},
extra: {
type: 'string',
Expand Down
1 change: 1 addition & 0 deletions designable/next/src/sources/layouts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ GlobalDragSource.appendSourcesByGroup('layouts', [
'x-component': 'Card',
'x-component-props': {
title: 'Title',
contentHeight: 'auto',
},
},
},
Expand Down

0 comments on commit 889a3af

Please sign in to comment.