@@ -136,9 +136,9 @@ ol {
}
.dn-app {
- height: 100%;
+ height: calc(100vh - 122px);
.dn-main-panel-header {
- padding: 0 0 16px !important;
+ padding: 5px 0;
.dn-workspace-panel {
padding: 0 !important;
@@ -165,7 +165,7 @@ const Staff: React.FC<ListProps> = ({
aligen: 'center',
onHeaderCell: () => ({ style: { textAlign: 'center' } }),
render: (_, record) => (
- <div className="divide-x divide-bg-gray-400 flex flex-row">
+ <div className="divide-x divide-bg-gray-400 flex flex-row justify-center">
<div
className="pr-2 text-primary cursor-pointer hover:text-hex-967bbd"
onClick={() => {
@@ -26,7 +26,7 @@ const Detail: React.FC<DetailProps> = ({ dispatch, base, location }) => {
}, [columnType])
return (
<PageContainer title={false}>
- <div className="h-full w-full bg-white p-4 rounded-20px">
+ <div className="h-full w-full bg-white px-4 pb-4 rounded-20px">
<Designable
title={menuOptions.find(item => item.value === columnType)?.label + '数据模型'}
/>