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

This commit is contained in:
Vlad Piersec 2021-03-23 11:06:03 +02:00 committed by vp8x8
parent eb68467e15
commit 5fd9dc74e4
2 changed files with 7 additions and 2 deletions

View File

@ -233,6 +233,10 @@ body.welcome-page {
}
}
&.without-footer {
justify-content: start;
}
.welcome-cards-container {
color:#131519;
padding-top: 40px;

View File

@ -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 } />