mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-07 01:41:39 +00:00
[dir view] sdoc draft identifier: modified its className to avoid the effect from sdoc-editor styles in the integration environment(where css is packaged) (#5566)
This commit is contained in:
@@ -740,7 +740,7 @@ class DirentListItem extends React.Component {
|
||||
<a href={dirent.type === 'dir' ? dirHref : fileHref} onClick={this.onItemClick}>{dirent.name}</a>
|
||||
}
|
||||
{(Utils.isSdocFile(dirent.name) && dirent.is_sdoc_draft) &&
|
||||
<span className="sdoc-draft-identifier">{gettext('Draft')}</span>
|
||||
<span className="dirent-sdoc-draft-identifier">{gettext('Draft')}</span>
|
||||
}
|
||||
</Fragment>
|
||||
)}
|
||||
|
@@ -24,7 +24,7 @@
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.sdoc-draft-identifier {
|
||||
.dirent-sdoc-draft-identifier {
|
||||
display: inline-block;
|
||||
font-size: 14px;
|
||||
color: #888;
|
||||
|
Reference in New Issue
Block a user