Skip to content

Commit

Permalink
Fix huge media gallery in meetings when a participant is screen shari…
Browse files Browse the repository at this point in the history
…ng (#871)
  • Loading branch information
JamesBurnside authored Oct 4, 2021
1 parent 199e1bc commit c691148
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "Fix huge media gallery in meetings when a participant is screen sharing",
"packageName": "@internal/react-composites",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,15 @@ import { IStackStyles } from '@fluentui/react';
/**
* @private
*/
export const compositeOuterContainerStyles: IStackStyles = { root: { width: '100%' } };
export const compositeOuterContainerStyles: IStackStyles = {
root: {
width: '100%',

// This allows the composite to correctly contain the call composite by calculating a height for the available space.
// Items inside the call composite that fill 100% of the height will now fill the height of this container instead
// of the height of the child items.
// If this css property is to be removed, test the participant pane correctly uses the scroll overflow when there a lot
// of participants (i.e. beyond screen height) and where one participant is sharing their screen.
flexWrap: 'wrap'
}
};

0 comments on commit c691148

Please sign in to comment.