Skip to content
This repository was archived by the owner on Apr 26, 2023. It is now read-only.

Commit 6e207f2

Browse files
committed
Fix fullscreen support
1 parent 85db729 commit 6e207f2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

public/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
<head>
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6-
<meta name="viewport" content="width=device-width,initial-scale=1.0">
6+
<meta name="viewport" content="width=device-width,initial-scale=1.0,viewport-fit=cover">
7+
78
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
89
<title>Nord webapp template</title>
910
</head>

src/components/FullscreenButton.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default {
2222
},
2323
methods: {
2424
fullscreen: function () {
25-
window.document.documentElement.webkitRequestFullScreen();
25+
window.document.documentElement.webkitRequestFullScreen({navigationUI: "hide"});
2626
},
2727
fullscreenDidChange: function () {
2828
this.showFullscreenButton = !document.webkitIsFullScreen;

0 commit comments

Comments
 (0)