Skip to content

Commit

Permalink
fix(comp:form): the content of form-item is block (#1019) (#1088)
Browse files Browse the repository at this point in the history
  • Loading branch information
danranVm committed Aug 23, 2022
1 parent f8a58fc commit aef12af
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions packages/components/form/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@
align-items: center;

&-content {
display: flex;
align-items: center;
line-height: 1;
flex: auto;
max-width: 100%;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/components/select/src/panel/Panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export default defineComponent({
})

function useSelectPanelData(props: SelectPanelProps, config: SelectConfig) {
const dataContext = inject(SELECT_PANEL_DATA_TOKEN)
const dataContext = inject(SELECT_PANEL_DATA_TOKEN, null)

if (dataContext) {
return dataContext.flattenedOptions
Expand Down
1 change: 0 additions & 1 deletion packages/pro/table/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,4 @@ export type {
ProTableColumnExpandable,
ProTableColumnSelectable,
ProTableColumnIndexable,
ProTableToolbar,
} from './src/types'

0 comments on commit aef12af

Please sign in to comment.