fix: update topics listing UI (#317)
* fix: update topics listing UI * test: update archived topics test case * style: remove topic list last divider
This commit is contained in:
@@ -74,9 +74,14 @@ function PostsView() {
|
||||
|
||||
return (
|
||||
<div className="discussion-posts d-flex flex-column h-100">
|
||||
{
|
||||
searchString && <SearchInfo count={resultsFound} text={searchString} loadingStatus={loadingStatus} onClear={() => dispatch(setSearchQuery(''))} />
|
||||
}
|
||||
{searchString && (
|
||||
<SearchInfo
|
||||
count={resultsFound}
|
||||
text={searchString}
|
||||
loadingStatus={loadingStatus}
|
||||
onClear={() => dispatch(setSearchQuery(''))}
|
||||
/>
|
||||
)}
|
||||
<PostFilterBar />
|
||||
<div className="border-bottom border-light-400" />
|
||||
<div className="list-group list-group-flush flex-fill" role="list" onKeyDown={e => handleKeyDown(e)}>
|
||||
|
||||
@@ -63,7 +63,7 @@ function PostLink({
|
||||
style={{ lineHeight: '21px' }}
|
||||
aria-current={isSelected(post.id) ? 'page' : undefined}
|
||||
role="option"
|
||||
tabindex={(isSelected(post.id) || idx === 0) ? 0 : -1}
|
||||
tabIndex={(isSelected(post.id) || idx === 0) ? 0 : -1}
|
||||
>
|
||||
<div
|
||||
className={
|
||||
|
||||
Reference in New Issue
Block a user