Skip to content

Commit

Permalink
Merge pull request #13818 from TitanNano/9814
Browse files Browse the repository at this point in the history
 Add media queries and mobile viewport (#12142)
  • Loading branch information
turt2live authored May 27, 2020
2 parents 492dd42 + 0616199 commit 332be9b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions res/welcome.html
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,16 @@
display: none;
}

@media only screen and (max-width: 480px) {
.mx_ButtonRow {
flex-direction: column;
}

.mx_ButtonRow > * {
margin: 0 0 10px 0;
}
}

</style>

<div class="mx_Parent">
Expand Down
1 change: 1 addition & 0 deletions src/vector/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<link rel="manifest" href="manifest.json">
<meta name="referrer" content="no-referrer">
<link rel="shortcut icon" href="<%= require('../../res/vector-icons/favicon.ico') %>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-title" content="Riot">
<meta name="application-name" content="Riot">
<meta name="msapplication-TileColor" content="#da532c">
Expand Down

0 comments on commit 332be9b

Please sign in to comment.