mirror of
https://github.com/wassname/talk.git
synced 2026-10-29 13:40:57 +08:00
No div in p
This commit is contained in:
1 parent
312103098c
commit
5a2ce0f6a7
2 files changed
+9
-1
No files matched your search
@@ -93,7 +93,11 @@ class ModerationQueue extends React.Component {
|
||||
})
|
||||
}
|
||||
</CSSTransitionGroup>
|
||||
{comments.length === 0 && <p><EmptyCard>{t('modqueue.empty_queue')}</EmptyCard></p>}
|
||||
{comments.length === 0 &&
|
||||
<div className={styles.emptyCardContainer}>
|
||||
<EmptyCard>{t('modqueue.empty_queue')}</EmptyCard>
|
||||
</div>
|
||||
}
|
||||
|
||||
<LoadMore
|
||||
loadMore={this.loadMore}
|
||||
|
||||
@@ -480,6 +480,10 @@ span {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.emptyCardContainer {
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.commentLeave {
|
||||
opacity: 1.0;
|
||||
transition: opacity 800ms;
|
||||
|
||||
Reference in new issue
Block a user