Skip to content

Commit 66e93c8

Browse files
author
Luke Barnard
committed
Fix for element-hq#3298 - height:100% for welcome pages on Safari
1 parent 6690df1 commit 66e93c8

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

‎src/skins/vector/css/matrix-react-sdk/structures/_MatrixChat.scss‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,11 @@ limitations under the License.
100100
* flex itself.
101101
*/
102102
display: flex;
103+
104+
/* To fix https://github.com/vector-im/riot-web/issues/3298 where Safari
105+
needed height 100% all the way down to the HomePage.
106+
*/
107+
height: 100%;
103108
}
104109

105110
.mx_MatrixChat .mx_RightPanel {

‎src/skins/vector/css/vector-web/structures/_HomePage.scss‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ limitations under the License.
1818
.mx_HomePage {
1919
max-width: 960px;
2020
width: 100%;
21+
height: 100%;
22+
overflow-y: hidden;
2123
margin-left: auto;
2224
margin-right: auto;
2325
}

0 commit comments

Comments
 (0)