From bf618f1c9d703a705e5aeb29648be14bb21302a4 Mon Sep 17 00:00:00 2001 From: Hanusiak Piotr Date: Wed, 1 Dec 2021 10:26:09 +0100 Subject: [PATCH] fixed Woka picture positioning --- front/src/Components/Menu/MenuIcon.svelte | 10 +++++++++- front/src/Components/Video/VideoMediaBox.svelte | 11 +---------- front/src/Components/Woka/Woka.svelte | 5 ++++- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/front/src/Components/Menu/MenuIcon.svelte b/front/src/Components/Menu/MenuIcon.svelte index 87d71476..760f2e44 100644 --- a/front/src/Components/Menu/MenuIcon.svelte +++ b/front/src/Components/Menu/MenuIcon.svelte @@ -16,7 +16,9 @@
-
+
+ +
open menu
@@ -33,6 +35,12 @@ margin: 3px; image-rendering: pixelated; } + .woka { + pointer-events: auto; + width: 60px; + padding-top: 0; + margin: 3px; + } } .menuIcon img:hover{ transform: scale(1.2); diff --git a/front/src/Components/Video/VideoMediaBox.svelte b/front/src/Components/Video/VideoMediaBox.svelte index 3f64b0c1..331be702 100644 --- a/front/src/Components/Video/VideoMediaBox.svelte +++ b/front/src/Components/Video/VideoMediaBox.svelte @@ -45,13 +45,4 @@ {#if $constraintStore && $constraintStore.audio !== false} {/if} - - - \ No newline at end of file + \ No newline at end of file diff --git a/front/src/Components/Woka/Woka.svelte b/front/src/Components/Woka/Woka.svelte index badf48bf..8138cd14 100644 --- a/front/src/Components/Woka/Woka.svelte +++ b/front/src/Components/Woka/Woka.svelte @@ -25,7 +25,10 @@ import { onDestroy } from 'svelte'; pointer-events: auto; width: 60px; height: 60px; - margin: 3px; + left: calc(50% - 30px); + top: calc(50% - 30px); + margin: 0; + padding: 0; image-rendering: pixelated; } \ No newline at end of file