@@ -358,7 +361,7 @@ function CoderDepot(props){
简介
{projectDetail.permission && (projectDetail.permission==="Admin" || projectDetail.permission==="Owner") && setOpenModal(true)} className="iconfont icon-anquanshezhi color-grey-9 font-15">}
- {desc &&
{desc}
}
+ {desc &&
{desc}
}
{
website &&
diff --git a/src/forge/Main/CoderRootIndex.js b/src/forge/Main/CoderRootIndex.js
index 4dd531bc..ceff9d9f 100644
--- a/src/forge/Main/CoderRootIndex.js
+++ b/src/forge/Main/CoderRootIndex.js
@@ -13,10 +13,6 @@ const UploadFile = Loadable({
loader: () => import('../Newfile/upload_file'),
loading: Loading,
})
-const CoderRootDirectory = Loadable({
- loader: () => import('./CoderRootDirectory'),
- loading: Loading,
-})
const CoderRootCommit = Loadable({
loader: () => import('./CoderRootCommit'),
loading: Loading,
diff --git a/src/forge/Main/Index.scss b/src/forge/Main/Index.scss
index e144a33d..d6a97a4b 100644
--- a/src/forge/Main/Index.scss
+++ b/src/forge/Main/Index.scss
@@ -254,20 +254,30 @@
.drawerBtn{
position: fixed;
left: -13px;
- border:1px solid #d9d9d9;
+ border:1px solid rgb(207,205,223);
width: 34px;
border-radius: 0px 12px 12px 0px;
- text-align: right;
height: 70px;
- line-height: 70px;
top:50%;
margin-top: -35px;
cursor: pointer;
+ display: flex;
+ flex-direction: column;
+ align-items: flex-end;
+ justify-content: center;
&:hover{
box-shadow: 1px 0px 7px rgba(0,0,0,0.1);
}
+ span{
+ writing-mode: vertical-lr;
+ color: #202429;
+ width: 25px;
+ }
i{
- color: #d9d9d9;
+ color: #24292e;
+ height: 18px;
+ line-height: 18px;
+ width: 18px;
}
}
.downMenu{
From 2c832213764f2b46e737f7c2e3e035982a636c30 Mon Sep 17 00:00:00 2001
From: caishi <1149225589@qq.com>
Date: Tue, 30 Mar 2021 11:50:25 +0800
Subject: [PATCH 6/6] =?UTF-8?q?=E6=8C=89=E9=92=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/forge/Main/CoderDepot.jsx | 12 +++++++++---
src/forge/Main/Index.scss | 4 ++--
src/forge/Settings/Collaborator.js | 2 +-
3 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/src/forge/Main/CoderDepot.jsx b/src/forge/Main/CoderDepot.jsx
index d6024b06..58e941d2 100644
--- a/src/forge/Main/CoderDepot.jsx
+++ b/src/forge/Main/CoderDepot.jsx
@@ -1,6 +1,6 @@
import React , { useEffect , useState } from 'react';
import { WhiteBack , Box , LongWidth , ShortWidth , Gap , AlignCenter , FlexAJ } from '../Component/layout';
-import { Dropdown , Menu , Divider , Spin } from 'antd';
+import { Dropdown , Menu , Divider , Spin, Button } from 'antd';
import { getImageUrl } from "educoder";
import { Link } from 'react-router-dom';
import CloneAddress from '../Branch/CloneAddress';
@@ -290,8 +290,14 @@ function CoderDepot(props){
urlLink(`/projects/${owner}/${projectsId}/pulls/new`)} >+ 合并请求
urlLink(`/projects/${owner}/${projectsId}/issues/new`)} >+ 任务
- { type === "dir" &&