Skip to content

Commit a9bfd5c

Browse files
committed
set important on canvas fullscreen style to not get overridden by webvr-polyfill
1 parent 13f11e5 commit a9bfd5c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/style/aframe.css‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
cursor: -webkit-grabbing;
4747
}
4848

49+
// Class is removed when doing <a-scene embedded>.
4950
.a-canvas.fullscreen {
5051
width: 100% !important;
5152
height: 100% !important;
@@ -54,7 +55,7 @@
5455
right: 0 !important;
5556
bottom: 0 !important;
5657
z-index: 999999 !important;
57-
position: fixed;
58+
position: fixed !important;
5859
}
5960

6061
a-scene {

0 commit comments

Comments
 (0)