浏览代码

fixed some small design bugs

FE_dev
Dzenis Hadzifejzovic 3 年前
父节点
当前提交
353e95e296
共有 2 个文件被更改,包括 7 次插入2 次删除
  1. 6
    1
      src/components/Files/TreeViewFiles.js
  2. 1
    1
      src/pages/FilesPage/AddFile.js

+ 6
- 1
src/components/Files/TreeViewFiles.js 查看文件

aria-label="rich object" aria-label="rich object"
defaultCollapseIcon={<ExpandMoreIcon />} defaultCollapseIcon={<ExpandMoreIcon />}
defaultExpandIcon={<ChevronRightIcon />} defaultExpandIcon={<ChevronRightIcon />}
sx={{ flexGrow: 1, overflowY: "auto" }}
sx={{
flexGrow: 1,
overflowY: "auto",
zIndex: 100000,
position: "relative",
}}
> >
{renderTree(category)} {renderTree(category)}
</TreeView> </TreeView>

+ 1
- 1
src/pages/FilesPage/AddFile.js 查看文件

<img src={uploadIcon} /> <img src={uploadIcon} />
<div className="uploadCV-input-sub-container"> <div className="uploadCV-input-sub-container">
{pdfFile !== null ? ( {pdfFile !== null ? (
<p>{pdfFile.name}</p>
<p style={{ maxWidth: "80%" }}>{pdfFile.name}</p>
) : ( ) : (
<> <>
<p> <p>

正在加载...
取消
保存