-
Notifications
You must be signed in to change notification settings - Fork 71
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
Custom Branding bug bash fixes - Visual improvements to the call composite configuration page #3875
Conversation
Calling bundle size is increased❗.
|
CallWithChat bundle size is increased❗.
|
Chat bundle size is not changed.
|
…/Azure/communication-ui-library into jaburnsi/branding-bug-bash-fixes
…/Azure/communication-ui-library into jaburnsi/branding-bug-bash-fixes
…/Azure/communication-ui-library into jaburnsi/branding-bug-bash-fixes
…/Azure/communication-ui-library into jaburnsi/branding-bug-bash-fixes
…/Azure/communication-ui-library into jaburnsi/branding-bug-bash-fixes
@azure/communication-react jest test coverage for stable.
|
@azure/communication-react jest test coverage for beta.
|
@@ -109,7 +109,7 @@ const constructTSpanLine = (line: string, lineHeightPx: number): SVGTSpanElement | |||
const tspan = document.createElementNS('http://www.w3.org/2000/svg', 'tspan'); | |||
tspan.textContent = line; | |||
tspan.setAttribute('x', '50%'); | |||
tspan.setAttribute('dy', _pxToRem(lineHeightPx)); | |||
tspan.setAttribute('dy', `${lineHeightPx}px`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this change happening because the SVG format does not like REM (Great band)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Specifically safari doesn't support rem
as a dy
value in svg
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(bug in webkit)
...ge.test.ts-snapshots/call-configuration-page-camera-error-Mobile-Android-Landscape-linux.png
Outdated
Show resolved
Hide resolved
Failed to pass the UI Test. If this PR is for UI change and the error is snapshot mismatch, please add "update_snapshots" label to the PR for updating the snapshot. |
What
dy
value in svg, usingpx
insteadWhy
Fixes design bugs.
How Tested
Locally verified new alignments match designs:
(left design, right actual)
![image](https://private-user-images.githubusercontent.com/2684369/288872891-f43df2a9-8861-4d14-8eb7-24567fe9299f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NTE5ODMsIm5iZiI6MTczODk1MTY4MywicGF0aCI6Ii8yNjg0MzY5LzI4ODg3Mjg5MS1mNDNkZjJhOS04ODYxLTRkMTQtOGViNy0yNDU2N2ZlOTI5OWYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDdUMTgwODAzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MzRkMmJkNmI3YTg0YjM2NTk3NmZhZmIwYzg0Y2VlMGZiOTgzODYyNWZlMDkyZGJjMjNhNTE3OTFjNDQ3ZTJiYSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.b8zl8udw432nHtEQKZYYKsEHly4wuF9nHwAAzPORM0s)