Fix for vector-im/riot-web#3298 - height:100% for welcome pages on Safari

This commit is contained in:
Luke Barnard 2017-03-01 10:04:48 +00:00
parent 6690df1203
commit 66e93c8a8c
2 changed files with 7 additions and 0 deletions

View File

@ -100,6 +100,11 @@ limitations under the License.
* flex itself. * flex itself.
*/ */
display: flex; display: flex;
/* To fix https://github.com/vector-im/riot-web/issues/3298 where Safari
needed height 100% all the way down to the HomePage.
*/
height: 100%;
} }
.mx_MatrixChat .mx_RightPanel { .mx_MatrixChat .mx_RightPanel {

View File

@ -18,6 +18,8 @@ limitations under the License.
.mx_HomePage { .mx_HomePage {
max-width: 960px; max-width: 960px;
width: 100%; width: 100%;
height: 100%;
overflow-y: hidden;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
} }