ソースを参照

feat: 调整部分样式

lanjianrong 3 年 前
コミット
e482a5b2cd

+ 2 - 2
src/global.less

@@ -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;

+ 1 - 1
src/pages/Institutions/Company/Detail/components/Staff.tsx

@@ -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={() => {

+ 1 - 1
src/pages/Schema/Base/detail.tsx

@@ -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 + '数据模型'}
         />