From e0fd519e9129cd290858d76c8f800f08c7ec07af Mon Sep 17 00:00:00 2001 From: trivernis Date: Sat, 12 Feb 2022 15:30:48 +0100 Subject: [PATCH] Fix boundign box of flap button Signed-off-by: trivernis --- .../flap-button/flap-button.component.scss | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mediarepo-ui/src/app/components/shared/app-common/flap-button/flap-button.component.scss b/mediarepo-ui/src/app/components/shared/app-common/flap-button/flap-button.component.scss index bfe7767..87d9c8b 100644 --- a/mediarepo-ui/src/app/components/shared/app-common/flap-button/flap-button.component.scss +++ b/mediarepo-ui/src/app/components/shared/app-common/flap-button/flap-button.component.scss @@ -15,15 +15,15 @@ } &[attach='left'], &[attach='right'] { - top: 0; - height: 100%; - width: 4em; + top: calc(50% - 5em); + height: 10em; + width: 2.5em; } &[attach='top'], &[attach='bottom'] { - left: 0; - width: 100%; - height: 4em; + left: calc(50% - 5em); + width: 10em; + height: 2.5em; } &[attach='left'] {