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