mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-08 23:19:26 +08:00
style: style improve
This commit is contained in:
parent
87e66ecc4d
commit
c5fc8f0318
@ -2,6 +2,7 @@ import React, { useState, SyntheticEvent, useRef, useEffect, useMemo, useCallbac
|
|||||||
import { useFieldSchema, Schema, RecursionField } from '@formily/react';
|
import { useFieldSchema, Schema, RecursionField } from '@formily/react';
|
||||||
import { cx } from '@emotion/css';
|
import { cx } from '@emotion/css';
|
||||||
import { createForm } from '@formily/core';
|
import { createForm } from '@formily/core';
|
||||||
|
import { css } from '@emotion/css';
|
||||||
import { Task } from '../../types/public-types';
|
import { Task } from '../../types/public-types';
|
||||||
import { GridProps } from '../grid/grid';
|
import { GridProps } from '../grid/grid';
|
||||||
import { ganttDateRange, seedDates } from '../../helpers/date-helper';
|
import { ganttDateRange, seedDates } from '../../helpers/date-helper';
|
||||||
@ -461,7 +462,13 @@ export const Gantt: any = (props: any) => {
|
|||||||
};
|
};
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<div>
|
<div
|
||||||
|
className={css`
|
||||||
|
.ant-table-container::after {
|
||||||
|
box-shadow: none !important;
|
||||||
|
}
|
||||||
|
`}
|
||||||
|
>
|
||||||
<GanttRecordViewer visible={visible} setVisible={setVisible} record={record} />
|
<GanttRecordViewer visible={visible} setVisible={setVisible} record={record} />
|
||||||
<RecursionField name={'anctionBar'} schema={fieldSchema.properties.toolBar} />
|
<RecursionField name={'anctionBar'} schema={fieldSchema.properties.toolBar} />
|
||||||
<RecursionField name={'table'} schema={fieldSchema.properties.table} />
|
<RecursionField name={'table'} schema={fieldSchema.properties.table} />
|
||||||
|
@ -4,7 +4,7 @@ import { css } from '@emotion/css';
|
|||||||
export const scrollWrapper =css`
|
export const scrollWrapper =css`
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -10px;
|
top: -14px;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
/*firefox*/
|
/*firefox*/
|
||||||
scrollbar-width: thin;
|
scrollbar-width: thin;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user