Skip to content

Commit

Permalink
/conversations now works on mobile! :)
Browse files Browse the repository at this point in the history
  • Loading branch information
neoncube2 committed Sep 20, 2024
1 parent 3adfa20 commit df417b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/src/forum/components/ConversationsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default class ConversationsPage extends Page {

view(vnode) {
return (
<div className="ConversationsPage">
<div className={this.currentConversationId != null ? 'ConversationsPage viewing-conversation' : 'ConversationsPage'}>
<ConversationsList currentConversationId={this.currentConversationId} />
</div>
);
Expand Down
5 changes: 3 additions & 2 deletions resources/less/extension.less
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@
// }
}

.ConversationsPage .people-list {
.ConversationsPage.viewing-conversation .people-list {
display: none;
}

Expand Down Expand Up @@ -598,7 +598,8 @@
}
}

.App-header .ConversationsList-list a {
.App-header .ConversationsList-list a,
.ConversationsPage .ConversationsList-list a {
color: var(--text-color);
}

Expand Down

0 comments on commit df417b9

Please sign in to comment.