mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-12 19:56:53 +00:00
💄(frontend) hide the ProConnect button on narrow viewports
Hide the ProConnect button (only used by the Dinum frontend) when the device viewport is not wide enough to display it cleanly, so it does not overflow or break the layout on smaller screens.
This commit is contained in:
committed by
aleb_the_flash
parent
7461cd28ce
commit
c53a2f8af4
@@ -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
|
||||
|
||||
|
||||
@@ -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 />
|
||||
</>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user