Skip to content

Commit

Permalink
fix: bottom layout (#1779)
Browse files Browse the repository at this point in the history
  • Loading branch information
raviteja83 authored Sep 1, 2023
1 parent 518f853 commit f5fdde2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const SecondaryTiles = ({ peers, onPageChange, onPageSize }: LayoutProps)

useEffect(() => {
if (pageSize > 0) {
onPageSize?.(pageSize + 1); // include screenshare peer as well for page size
onPageSize?.(pageSize);
}
}, [pageSize, onPageSize]);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ const SecondarySection = ({ tiles, children }: React.PropsWithChildren<{ tiles:
trackId={tile.track?.id}
rootCSS={{
padding: 0,
flex: '1 1 0',
maxWidth: 'max-content',
flex: '0 0 25%',
}}
containerCSS={{
width: 'unset',
Expand Down

0 comments on commit f5fdde2

Please sign in to comment.