Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix wifi warning icon size in error bar #5282

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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,9 @@
{
"type": "patch",
"area": "fix",
"workstream": "Error bar",
"comment": "Fix error bar icon size for low network quality and local video freeze",
"packageName": "@azure/communication-react",
"email": "[email protected]",
"dependentChangeType": "patch"
}
7 changes: 2 additions & 5 deletions packages/react-components/src/theming/icons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,8 @@ export type ComponentIcons = Record<keyof typeof DEFAULT_COMPONENT_ICONS, JSX.El

const WifiWarning16Filled = (): JSX.Element => (
// All ErrorBar icons are 16px x 16px (when 1rem = 16 px).
// There is no 16px version of this icon in the fluent icon package, so scale the larger
// one down to required size.
<div className={mergeStyles({ transform: 'scale(0.8)' })}>
<WifiWarning20Filled />
</div>
// There is no 16px version of this icon in the fluent icon package, so set height and width to 1rem.
<WifiWarning20Filled style={{ height: '1rem', width: '1rem' }} />
);

const MoreHorizontal18Regular = (): JSX.Element => (
Expand Down
Loading