Преглед изворни кода

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
             font-size: 32px;
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
                 className = { `welcome ${showAdditionalContent
119
                 className = { `welcome ${showAdditionalContent
120
                     ? 'with-content' : 'without-content'}` }
120
                     ? 'with-content' : 'without-content'}` }
121
                 id = 'welcome_page'>
121
                 id = 'welcome_page'>
122
-                <div className = 'welcome-watermark'>
123
-                    <Watermarks />
124
-                </div>
122
+                <Watermarks />
125
                 <div className = 'header'>
123
                 <div className = 'header'>
126
                     <div className = 'welcome-page-settings'>
124
                     <div className = 'welcome-page-settings'>
127
                         <SettingsButton
125
                         <SettingsButton

Loading…
Откажи
Сачувај