Skip to content

Commit

Permalink
fix(web): fix select kanban field style
Browse files Browse the repository at this point in the history
  • Loading branch information
nichenqin committed Jan 1, 2023
1 parent 5079001 commit fa05acf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apps/web/components/kanban-ui/kanban.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ export const Kanban: React.FC<IProps> = ({ table, records }) => {
const fieldId = view.kanbanSelectFieldId
if (fieldId.isNone()) {
return (
<Container h="100%">
<Center h="100%">
<Container h="100%" w={450}>
<Center h="100%" w="100%">
<SelectKanbanField table={table} />
</Center>
</Container>
Expand Down
2 changes: 1 addition & 1 deletion apps/web/components/kanban-ui/select-existing-field.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const SelectExistingField: React.FC<IProps> = ({ table, onSuccess }) => {
const setStepOne = useSetAtom(stepOneAtom)

return (
<form onSubmit={onSubmit}>
<form onSubmit={onSubmit} style={{ width: '100%' }}>
<Card shadow={'sm'}>
<Card.Section withBorder inheritPadding py="sm">
<Text>select one field</Text>
Expand Down

0 comments on commit fa05acf

Please sign in to comment.