Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Set min height to control bar to fix issue where control bar contrainer would collapse when side pane buttons are disabled in Composites",
"packageName": "@azure/communication-react",
"email": "94866715+dmceachernmsft@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Set min height to control bar to fix issue where control bar contrainer would collapse when side pane buttons are disabled in Composites",
"packageName": "@azure/communication-react",
"email": "94866715+dmceachernmsft@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { IStyle } from '@fluentui/react';
export const controlBarContainerStyles: IStyle = {
paddingTop: '0.25rem',
paddingBottom: '0.25rem',

// @TODO: this should be exposed through a custom CallComposite Theme API that extends the fluent theme with semantic values
boxShadow: `
0px 6.400000095367432px 14.399999618530273px 0px #00000021;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export const CommonCallControlBar = (props: CommonCallControlBarProps & Containe

// only center control bar buttons based on parent container if there are enough space on the screen and not mobile
const controlBarDesktopContainerStyles: IStyle = useMemo(
() => (!props.mobileView && !isOutOfSpace ? { position: 'relative' } : {}),
() => (!props.mobileView && !isOutOfSpace ? { position: 'relative', minHeight: '4.5rem', width: '100%' } : {}),
[props.mobileView, isOutOfSpace]
);

Expand Down