瀏覽代碼

Revert "fix(welcome-page): remove watermark container to avoid z-index wars"

This reverts commit 890151fa72.
j8
Leonard Kim 6 年之前
父節點
當前提交
e2044074ad
共有 2 個檔案被更改,包括 9 行新增1 行删除
  1. 6
    0
      css/_welcome_page.scss
  2. 3
    1
      react/features/welcome/components/WelcomePage.web.js

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

@@ -162,4 +162,10 @@ body.welcome-page {
162 162
             font-size: 32px;
163 163
         }
164 164
     }
165
+
166
+    .welcome-watermark {
167
+        position: absolute;
168
+        width: 100%;
169
+        height: 100%;
170
+    }
165 171
 }

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

@@ -119,7 +119,9 @@ class WelcomePage extends AbstractWelcomePage {
119 119
                 className = { `welcome ${showAdditionalContent
120 120
                     ? 'with-content' : 'without-content'}` }
121 121
                 id = 'welcome_page'>
122
-                <Watermarks />
122
+                <div className = 'welcome-watermark'>
123
+                    <Watermarks />
124
+                </div>
123 125
                 <div className = 'header'>
124 126
                     <div className = 'welcome-page-settings'>
125 127
                         <SettingsButton

Loading…
取消
儲存