From d1c22b122c99f6b47ef38a0810fee14b49e794e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=A9grier?= Date: Fri, 28 May 2021 10:48:24 +0200 Subject: [PATCH] Improving icons centering --- front/style/style.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/front/style/style.css b/front/style/style.css index a3bbfa1d..50c842d0 100644 --- a/front/style/style.css +++ b/front/style/style.css @@ -212,7 +212,9 @@ video#myCamVideo{ /*btn animation*/ .btn-cam-action div{ cursor: url('./images/cursor_pointer.png'), pointer; - /*position: absolute;*/ + display: flex; + align-items: center; + justify-content: center; border: solid 0px black; width: 44px; height: 44px; @@ -267,8 +269,6 @@ video#myCamVideo{ .btn-cam-action div img{ height: 22px; width: 30px; - top: calc(48px - 37px); - left: calc(48px - 41px); position: relative; cursor: url('./images/cursor_pointer.png'), pointer; }