浏览代码

ui: fix scrollbar for the edit entity dialog

Signed-off-by: ryjiang <jiangruiyi@gmail.com>
ryjiang 9 月之前
父节点
当前提交
c53800d96d
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      client/src/pages/dialogs/EditEntityDialog.tsx

+ 0 - 2
client/src/pages/dialogs/EditEntityDialog.tsx

@@ -18,8 +18,6 @@ const useStyles = makeStyles((theme: Theme) => ({
   code: {
   code: {
     backgroundColor: '#f5f5f5',
     backgroundColor: '#f5f5f5',
     padding: 4,
     padding: 4,
-    width: '100%',
-    height: '60vh',
     overflow: 'auto',
     overflow: 'auto',
   },
   },
   tip: {
   tip: {