Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(welcome): Align meeting list at the top when no footer

Vlad Piersec5fd9dc74e41b
diff --git a/css/_welcome_page.scss b/css/_welcome_page.scss
index 1c1c17b74c..183a030d4a 100644
--- a/css/_welcome_page.scss
+++ b/css/_welcome_page.scss
@@ -233,6 +233,10 @@ body.welcome-page {
}
}
+ &.without-footer {
+ justify-content: start;
+ }
+
.welcome-cards-container {
color:#131519;
padding-top: 40px;
diff --git a/react/features/welcome/components/WelcomePage.web.js b/react/features/welcome/components/WelcomePage.web.js
index 122faf6de1..21121c231e 100644
--- a/react/features/welcome/components/WelcomePage.web.js
+++ b/react/features/welcome/components/WelcomePage.web.js
@@ -176,11 +176,12 @@ class WelcomePage extends AbstractWelcomePage {
const showAdditionalCard = this._shouldShowAdditionalCard();
const showAdditionalContent = this._shouldShowAdditionalContent();
const showAdditionalToolbarContent = this._shouldShowAdditionalToolbarContent();
+ const contentClassName = showAdditionalContent ? 'with-content' : 'without-content';
+ const footerClassName = DISPLAY_WELCOME_FOOTER ? 'with-footer' : 'without-footer';
return (
<div
- className = { `welcome ${showAdditionalContent
- ? 'with-content' : 'without-content'}` }
+ className = { `welcome ${contentClassName} ${footerClassName}` }
id = 'welcome_page'>
<div className = 'welcome-watermark'>
<Watermarks defaultJitsiLogoURL = { DEFAULT_WELCOME_PAGE_LOGO_URL } />