Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

πŸ’„(frontend) hide the ProConnect button on narrow viewports

lebaudantoinec53a2f8af403
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d78d98a2..8550403e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -20,6 +20,7 @@ and this project adheres to
- ♻️(frontend) encapsulate error tracking behind a telemetry module
- ♻️(frontend) encapsulate PostHog capture calls in the telemetry module
- πŸ”§(frontend) sync persisted device ids with the actual selected devices
+- πŸ’„(frontend) hide the ProConnect button on narrow viewports
### Fixed
diff --git a/src/frontend/src/layout/Header.tsx b/src/frontend/src/layout/Header.tsx
index 550c774a..362d4a1a 100644
--- a/src/frontend/src/layout/Header.tsx
+++ b/src/frontend/src/layout/Header.tsx
@@ -169,7 +169,13 @@ export const Header = () => {
!isTermsOfService &&
!loginButtonDisabledByUrl && (
<>
- <LoginButton proConnectHint={false} />
+ <div
+ className={css({
+ display: { base: 'none', xsm: 'block' },
+ })}
+ >
+ <LoginButton proConnectHint={false} />
+ </div>
<LoginHint />
</>
)}