Skip to content

Commit

Permalink
Fix rendering of MUC sidebar.
Browse files Browse the repository at this point in the history
Looks like styling broke after a rebase.
  • Loading branch information
jcbrand committed Aug 1, 2024
1 parent 343124d commit af28a95
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
15 changes: 13 additions & 2 deletions src/plugins/muc-views/styles/muc-occupants.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,24 @@
}

.box-flyout {
.occupants {

converse-muc-sidebar {
display: flex;
flex-direction: column;
height: 100%;
flex-direction: row;
justify-content: space-between;
overflow: visible;
background-color: var(--occupants-background-color);
border-left: var(--occupants-border-left);
}

.occupants {
display: flex;
height: 100%;
flex-direction: column;
justify-content: space-between;
overflow-y: visible;
overflow-x: auto;

.occupants-header--title {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/muc-views/templates/muc-chatarea.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default (el) => {
</div>
${el.model ? html`
<converse-muc-sidebar
class="occupants ${el.shouldShowSidebar() ? sidebar_classes : 'col-xs-0 hidden' }"
class="${el.shouldShowSidebar() ? sidebar_classes : 'col-xs-0 hidden' }"
jid=${el.jid}
@mousedown=${(ev) => el.onMousedown(ev)}></converse-muc-sidebar>` : '' }`
};

0 comments on commit af28a95

Please sign in to comment.