push
This commit is contained in:
45
lib/saas/config/form.config.ts
Normal file
45
lib/saas/config/form.config.ts
Normal file
@@ -0,0 +1,45 @@
|
||||
export const formConfig = {
|
||||
formLayout: {
|
||||
vertical: {
|
||||
layout: 'horizontal',
|
||||
class: 'ns-vertical-form',
|
||||
wrapperCol: { span: 16 },
|
||||
labelCol: { span: 6 },
|
||||
span: 24,
|
||||
sm: null, //≥576px <=768
|
||||
lg: null, //>= 768
|
||||
gutter: [0, 0],
|
||||
justify: 'space-around',
|
||||
},
|
||||
flex: {
|
||||
// layout: 'horizontal',
|
||||
class: 'ns-flex-form ns-flex-form-horizontal',
|
||||
wrapperCol: { span: 16 },
|
||||
span: 7,
|
||||
sm: null, //≥576px <=768
|
||||
lg: null, //>= 768
|
||||
gutter: [0, 0],
|
||||
justify: 'space-between',
|
||||
},
|
||||
flexv2: {
|
||||
// layout: 'horizontal',
|
||||
class: 'ns-flex-form ns-flex-form-horizontal',
|
||||
wrapperCol: { span: 16 },
|
||||
span: 6,
|
||||
sm: 8, //≥576px <=768
|
||||
lg: 6, //>= 768
|
||||
gutter: [16, 16],
|
||||
justify: 'space-between',
|
||||
},
|
||||
flexVertical: {
|
||||
layout: 'vertical',
|
||||
class: 'ns-flex-form ns-flex-form-vertical',
|
||||
wrapperCol: {},
|
||||
span: 7,
|
||||
sm: null, //≥576px <=768
|
||||
lg: null, //>= 768
|
||||
gutter: [0, 0],
|
||||
justify: 'space-between',
|
||||
},
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user