mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-03 07:55:36 +00:00
fix: tag files ui (#7095)
* fix: tag files ui * feat: optimize code * feat: optimize code * feat: optimize code * feat: optimize code * feat: optimize ui * feat: optimize ui * feat: optimize ui --------- Co-authored-by: 杨国璇 <ygx@Hello-word.local> Co-authored-by: 杨国璇 <ygx@192.168.1.2>
This commit is contained in:
@@ -819,17 +819,18 @@ class DirentListItem extends React.Component {
|
||||
onMouseDown={this.onItemMouseDown}
|
||||
onContextMenu={this.onItemContextMenu}
|
||||
>
|
||||
<td className={`pl10 ${this.state.isDragTipShow ? 'tr-drag-effect' : ''}`}>
|
||||
<td className={`pl10 pr-2 ${this.state.isDragTipShow ? 'tr-drag-effect' : ''}`}>
|
||||
<input
|
||||
type="checkbox"
|
||||
className="vam"
|
||||
onClick={this.onItemSelected}
|
||||
style={{ position: 'relative', top: -1 }}
|
||||
onChange={() => {}}
|
||||
checked={isSelected}
|
||||
aria-label={isSelected ? gettext('Unselect this item') : gettext('Select this item')}
|
||||
/>
|
||||
</td>
|
||||
<td className="pl10">
|
||||
<td className="pl-2 pr-2">
|
||||
{dirent.starred !== undefined &&
|
||||
<i
|
||||
role="button"
|
||||
@@ -840,7 +841,7 @@ class DirentListItem extends React.Component {
|
||||
</i>
|
||||
}
|
||||
</td>
|
||||
<td className="pl10">
|
||||
<td className="pl-2 pr-2">
|
||||
<div className="dir-icon">
|
||||
{(this.canPreview && dirent.encoded_thumbnail_src) ?
|
||||
<img ref='drag_icon' src={`${siteRoot}${dirent.encoded_thumbnail_src}`} className="thumbnail cursor-pointer" onClick={this.onItemClick} alt="" /> :
|
||||
|
Reference in New Issue
Block a user