1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-10 19:29:56 +00:00

fix trash icon (#6741)

This commit is contained in:
Michael An
2024-09-09 16:48:25 +08:00
committed by GitHub
parent b32c4ab215
commit 0eeae844ae
2 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ const DirOthers = ({ userPerm, repoID, currentRepoInfo }) => {
<TreeSection title={gettext('Others')} className="dir-others"> <TreeSection title={gettext('Others')} className="dir-others">
{trashUrl && {trashUrl &&
<div className='dir-others-item text-nowrap' title={gettext('Trash')} onClick={toggleTrashDialog}> <div className='dir-others-item text-nowrap' title={gettext('Trash')} onClick={toggleTrashDialog}>
<span className="sf3-font-recycle1 sf3-font"></span> <span className="sf3-font-trash sf3-font"></span>
<span className="dir-others-item-text">{gettext('Trash')}</span> <span className="dir-others-item-text">{gettext('Trash')}</span>
</div> </div>
} }

View File

@@ -109,7 +109,7 @@ class WikiNav extends Component {
return this.renderPage(item, index, pages.length, isOnlyOnePage, id_page_map, layerDragProps); return this.renderPage(item, index, pages.length, isOnlyOnePage, id_page_map, layerDragProps);
})} })}
<div className='wiki2-trash' onClick={this.props.toggelTrashDialog}> <div className='wiki2-trash' onClick={this.props.toggelTrashDialog}>
<span className="sf3-font-recycle1 sf3-font mr-2"></span> <span className="sf3-font-trash sf3-font mr-2"></span>
<span>{gettext('Trash')}</span> <span>{gettext('Trash')}</span>
</div> </div>
</div> </div>