From cca49fc57760a7f67790bc47b8057b80ea2760b8 Mon Sep 17 00:00:00 2001 From: Steffen Date: Tue, 16 Jun 2020 11:37:32 +0200 Subject: [PATCH] hide screenshot buttons for mozilla browsers (closes #9) --- src/App.vue | 9 +++++++++ src/components/Player.vue | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/App.vue b/src/App.vue index df1ad52..82b8390 100644 --- a/src/App.vue +++ b/src/App.vue @@ -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; position: relative; diff --git a/src/components/Player.vue b/src/components/Player.vue index f4c8628..a364966 100644 --- a/src/components/Player.vue +++ b/src/components/Player.vue @@ -123,7 +123,7 @@ Swap seats -
  • +
  • Screenshot