浏览代码

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

By making the container 100% height and position relative, that
would cause it to overlap any static-positioned  elements below it.
The 100% makes it so that any watermarks intended for the bottom
of the page show up on the bottom of the page. However, it's not
needed because watermark stylings already try to position the
watermarks at the bottom.
master
Leonard Kim 6 年前
父节点
当前提交
3f4a71c26d
共有 2 个文件被更改,包括 1 次插入9 次删除
  1. 0
    6
      css/_welcome_page.scss
  2. 1
    3
      react/features/welcome/components/WelcomePage.web.js

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

@@ -162,10 +162,4 @@ 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
-    }
171 165
 }

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

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

正在加载...
取消
保存