浏览代码

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

j8
Vlad Piersec 4 年前
父节点
当前提交
5fd9dc74e4
共有 2 个文件被更改,包括 7 次插入2 次删除
  1. 4
    0
      css/_welcome_page.scss
  2. 3
    2
      react/features/welcome/components/WelcomePage.web.js

+ 4
- 0
css/_welcome_page.scss 查看文件

@@ -233,6 +233,10 @@ body.welcome-page {
233 233
         }
234 234
     }
235 235
 
236
+    &.without-footer {
237
+        justify-content: start;
238
+    }
239
+
236 240
     .welcome-cards-container {
237 241
         color:#131519;
238 242
         padding-top: 40px;

+ 3
- 2
react/features/welcome/components/WelcomePage.web.js 查看文件

@@ -176,11 +176,12 @@ class WelcomePage extends AbstractWelcomePage {
176 176
         const showAdditionalCard = this._shouldShowAdditionalCard();
177 177
         const showAdditionalContent = this._shouldShowAdditionalContent();
178 178
         const showAdditionalToolbarContent = this._shouldShowAdditionalToolbarContent();
179
+        const contentClassName = showAdditionalContent ? 'with-content' : 'without-content';
180
+        const footerClassName = DISPLAY_WELCOME_FOOTER ? 'with-footer' : 'without-footer';
179 181
 
180 182
         return (
181 183
             <div
182
-                className = { `welcome ${showAdditionalContent
183
-                    ? 'with-content' : 'without-content'}` }
184
+                className = { `welcome ${contentClassName} ${footerClassName}` }
184 185
                 id = 'welcome_page'>
185 186
                 <div className = 'welcome-watermark'>
186 187
                     <Watermarks defaultJitsiLogoURL = { DEFAULT_WELCOME_PAGE_LOGO_URL } />

正在加载...
取消
保存