From 4629dddf8ff7168273e2f8653fac0e3d37fd67d8 Mon Sep 17 00:00:00 2001 From: gaelle morin Date: Tue, 29 Jun 2021 16:29:29 +0200 Subject: [PATCH] fix: left menu - button to remove SO ok on Firefox too --- src/styles/left-nav/_index.scss | 5 +---- src/views/partials/widgets/orbit-menu-contact-removed.pug | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/styles/left-nav/_index.scss b/src/styles/left-nav/_index.scss index 346d9b5..c96e381 100644 --- a/src/styles/left-nav/_index.scss +++ b/src/styles/left-nav/_index.scss @@ -225,9 +225,6 @@ nav#main__menu { orbit-menu-contact-removed { display: none; - button { - display: contents; - } } &:hover { @@ -253,7 +250,7 @@ nav#main__menu { position: relative; top: -28px; display: block; - left: calc(100% - 50px); + left: calc(100% - 44px); padding-top: 5px; button { diff --git a/src/views/partials/widgets/orbit-menu-contact-removed.pug b/src/views/partials/widgets/orbit-menu-contact-removed.pug index ed7431b..3fa488b 100644 --- a/src/views/partials/widgets/orbit-menu-contact-removed.pug +++ b/src/views/partials/widgets/orbit-menu-contact-removed.pug @@ -1,5 +1,5 @@ if componentSet.has('chat') solid-widget(name='orbit-menu-contact-removed') template ${value != "" ? ` - ` : ""} + ` : ""} //- Fix: using type confirm, dialog is not available on Firefox, polyfill only works if dialog is a direct child of body \ No newline at end of file