1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-07-15 16:04:01 +00:00

change trash dialog style (#6383)

This commit is contained in:
Michael An 2024-07-19 14:37:22 +08:00 committed by GitHub
parent 5f31f1a969
commit 88a6f73621
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 6 deletions

View File

@ -195,8 +195,8 @@ class Content extends React.Component {
constructor(props) {
super(props);
this.theadData = [
{ width: '5%', text: '' },
{ width: '20%', text: gettext('Name') },
{ width: '5%', text: gettext('Name') },
{ width: '20%', text: '' },
{ width: '40%', text: gettext('Original path') },
{ width: '12%', text: gettext('Delete Time') },
{ width: '13%', text: gettext('Size') },
@ -214,16 +214,14 @@ class Content extends React.Component {
render() {
const { items, showFolder, commitID, baseDir, folderPath, folderItems } = this.props.data;
const {
curPerPage, currentPage, hasNextPage
} = this.props;
const { curPerPage, currentPage, hasNextPage } = this.props;
return (
<React.Fragment>
<table className="table-hover">
<thead>
<tr>
{this.theadData.map((item, index) => {
return <th key={index} width={item.width}>{item.text}</th>;
return <th key={index} className={index === 0 ? 'pl-4' : ''} width={item.width}>{item.text}</th>;
})}
</tr>
</thead>

View File

@ -321,6 +321,7 @@ class DirColumnNav extends React.Component {
<DirOthers
repoID={repoID}
userPerm={userPerm}
currentRepoInfo={currentRepoInfo}
/>
</>
)}