feat: improve stying
This commit is contained in:
		
							parent
							
								
									1229a10df6
								
							
						
					
					
						commit
						1c30baffcf
					
				@ -98,7 +98,13 @@ const FormMain = (props: any) => {
 | 
			
		||||
  const content = (
 | 
			
		||||
    <FormProvider form={form}>
 | 
			
		||||
      {schema['x-decorator'] === 'Form' ? (
 | 
			
		||||
        <SchemaField components={options.components} scope={scope} schema={s} />
 | 
			
		||||
        <FormLayout layout={'vertical'} {...others}>
 | 
			
		||||
          <SchemaField
 | 
			
		||||
            components={options.components}
 | 
			
		||||
            scope={scope}
 | 
			
		||||
            schema={s}
 | 
			
		||||
          />
 | 
			
		||||
        </FormLayout>
 | 
			
		||||
      ) : (
 | 
			
		||||
        <FormLayout layout={'vertical'} {...others}>
 | 
			
		||||
          <SchemaField
 | 
			
		||||
 | 
			
		||||
@ -28,6 +28,17 @@
 | 
			
		||||
  &.isDragging {
 | 
			
		||||
    opacity: .2;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .ant-formily-item-control-content-component {
 | 
			
		||||
    min-height: 0 !important;
 | 
			
		||||
  }
 | 
			
		||||
  .ant-space {
 | 
			
		||||
    display: flex !important;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .ant-formily-item-label {
 | 
			
		||||
    min-height: 0 !important;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.nb-kanban-drag-overlay {
 | 
			
		||||
@ -44,13 +55,18 @@
 | 
			
		||||
  position: relative;
 | 
			
		||||
  // padding: 0;
 | 
			
		||||
  
 | 
			
		||||
  > .nb-block-item {
 | 
			
		||||
    padding: 12px;
 | 
			
		||||
    min-height: 50px;
 | 
			
		||||
  }
 | 
			
		||||
  .nb-grid-block, .ant-formily-item {
 | 
			
		||||
  .nb-block-item {
 | 
			
		||||
    &:last-child {
 | 
			
		||||
      .ant-formily-item {
 | 
			
		||||
        margin-bottom: 0 !important;
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
  .nb-grid-block, .ant-formily-item {
 | 
			
		||||
    margin-bottom: 12px !important;
 | 
			
		||||
  }
 | 
			
		||||
  
 | 
			
		||||
  .ant-formily-layout {
 | 
			
		||||
    &:hover {
 | 
			
		||||
      > .designable-bar {
 | 
			
		||||
        display: block;
 | 
			
		||||
@ -85,6 +101,7 @@
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.nb-kanban-column-header {
 | 
			
		||||
  margin-bottom: 12px;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user