1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-03 16:10:26 +00:00

[dir view] 'list' mode: fixed position of the 'tag edit' popover for file items without tags (#5678)

This commit is contained in:
llj
2023-10-09 18:28:17 +08:00
committed by GitHub
parent ec74ae86ab
commit 39d490a253
2 changed files with 4 additions and 0 deletions

View File

@@ -767,6 +767,9 @@ class DirentListItem extends React.Component {
</UncontrolledTooltip> </UncontrolledTooltip>
</Fragment> </Fragment>
)} )}
{(dirent.type !== 'dir' && (!dirent.file_tags || dirent.file_tags.length == 0)) && (
<div id={this.tagListTitleID} className="dirent-item tag-list tag-list-stacked"></div>
)}
</td> </td>
<td className="operation">{this.renderItemOperation()}</td> <td className="operation">{this.renderItemOperation()}</td>
<td className="file-size">{dirent.size && dirent.size}</td> <td className="file-size">{dirent.size && dirent.size}</td>

View File

@@ -1023,6 +1023,7 @@ a.table-sort-op:hover {
display: flex; display: flex;
align-items: center; align-items: center;
width: max-content; width: max-content;
min-height: 1rem;
} }
/* react select-module */ /* react select-module */