hide screenshot buttons for mozilla browsers (closes #9)

This commit is contained in:
Steffen 2020-06-16 11:37:32 +02:00
parent 24d6c4c1f2
commit cca49fc577
No known key found for this signature in database
GPG Key ID: 764D74E98267DFC6
2 changed files with 10 additions and 1 deletions

View File

@ -191,6 +191,15 @@ body {
} }
} }
// Firefox doesn't support screenshot mode yet
@-moz-document url-prefix() {
#controls > span.camera,
.player > .menu .screenshot,
.bluffs > svg.fa-camera {
display: none;
}
}
* { * {
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;

View File

@ -123,7 +123,7 @@
<font-awesome-icon icon="exchange-alt" /> <font-awesome-icon icon="exchange-alt" />
Swap seats Swap seats
</li> </li>
<li @click="takeScreenshot"> <li class="screenshot" @click="takeScreenshot">
<font-awesome-icon icon="camera" /> <font-awesome-icon icon="camera" />
Screenshot Screenshot
</li> </li>