style: style improve

This commit is contained in:
katherinehhh 2023-03-27 15:26:59 +08:00
parent 87e66ecc4d
commit c5fc8f0318
2 changed files with 9 additions and 2 deletions

View File

@ -2,6 +2,7 @@ import React, { useState, SyntheticEvent, useRef, useEffect, useMemo, useCallbac
import { useFieldSchema, Schema, RecursionField } from '@formily/react';
import { cx } from '@emotion/css';
import { createForm } from '@formily/core';
import { css } from '@emotion/css';
import { Task } from '../../types/public-types';
import { GridProps } from '../grid/grid';
import { ganttDateRange, seedDates } from '../../helpers/date-helper';
@ -461,7 +462,13 @@ export const Gantt: any = (props: any) => {
};
return (
<div>
<div>
<div
className={css`
.ant-table-container::after {
box-shadow: none !important;
}
`}
>
<GanttRecordViewer visible={visible} setVisible={setVisible} record={record} />
<RecursionField name={'anctionBar'} schema={fieldSchema.properties.toolBar} />
<RecursionField name={'table'} schema={fieldSchema.properties.table} />

View File

@ -4,7 +4,7 @@ import { css } from '@emotion/css';
export const scrollWrapper =css`
overflow: auto;
position: relative;
top: -10px;
top: -14px;
max-width: 100%;
/*firefox*/
scrollbar-width: thin;