1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-16 23:29:49 +00:00

[dir view - column mode] markdown file view: fixup for tags(display & edit) (#5497)

This commit is contained in:
llj
2023-06-07 20:41:12 +08:00
committed by GitHub
parent ff86195097
commit b4ed03c537
4 changed files with 10 additions and 4 deletions

View File

@@ -107,7 +107,7 @@ class DirPath extends React.Component {
<InternalLinkOperation repoID={this.props.repoID} path={this.props.currentPath}/>
)}
{(this.props.isViewFile && fileTags.length !== 0) &&
<span id='column-mode-file-tags' className="tag-list tag-list-stacked align-middle ml-1">
<span id='column-mode-file-tags' className="tag-list tag-list-stacked align-middle ml-1 d-flex align-items-center">
{fileTags.map((fileTag, index) => {
return (<span className="file-tag" key={fileTag.id} style={{zIndex: index, backgroundColor: fileTag.color}}></span>);
})}