mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-09 10:50:24 +00:00
change wiki published style (#6866)
This commit is contained in:
@@ -247,10 +247,10 @@ class WikiCardItem extends Component {
|
||||
<div className="wiki-item-owner">
|
||||
{isShowAvatar && (isDepartment ? this.renderDept() : this.renderAvatar())}
|
||||
</div>
|
||||
<div className="wiki-item-updated-time">
|
||||
<div className="wiki-item-bottom">
|
||||
{moment(wiki.updated_at).fromNow()}
|
||||
{wiki.is_published &&
|
||||
<span style={{ marginLeft: '25%' }}>published</span>
|
||||
<span>{gettext('published')}</span>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -104,12 +104,14 @@
|
||||
color: #999;
|
||||
}
|
||||
|
||||
/* wiki-item-updated-time */
|
||||
.wiki-card-item .wiki-item-updated-time {
|
||||
/* wiki-item-bottom */
|
||||
.wiki-card-item .wiki-item-bottom {
|
||||
height: 20px;
|
||||
font-size: 12px;
|
||||
color: #666;
|
||||
padding-top: 6px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.wiki-card-item-add span:first-child {
|
||||
|
Reference in New Issue
Block a user