From 9568769ae6aa4758c03fbba686c4660d8cc65ee1 Mon Sep 17 00:00:00 2001 From: sibiraj-s Date: Fri, 5 Feb 2021 16:47:58 +0530 Subject: [PATCH] fix: update floating menu styles --- .../menu/floating-menu/floating-menu.component.scss | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/lib/modules/menu/floating-menu/floating-menu.component.scss b/src/lib/modules/menu/floating-menu/floating-menu.component.scss index 3ed1c356..950e3351 100644 --- a/src/lib/modules/menu/floating-menu/floating-menu.component.scss +++ b/src/lib/modules/menu/floating-menu/floating-menu.component.scss @@ -1,3 +1,9 @@ +*, +*::before, +*::after { + box-sizing: border-box; +} + :host { position: absolute; z-index: 20; @@ -7,8 +13,7 @@ background-color: #000; color: white; display: flex; - height: 1.85rem; - padding: 0.2rem 0.3rem; + padding: 0.3rem; visibility: hidden; } @@ -52,6 +57,5 @@ .NgxFloatingMenu__Seperator { border-left: 1px solid white; - height: 100%; margin: 0 5px; }