fix: left menu - button to remove SO ok on Firefox too
This commit is contained in:
parent
ab7e1d92fe
commit
4629dddf8f
@ -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 {
|
||||
|
@ -1,5 +1,5 @@
|
||||
if componentSet.has('chat')
|
||||
solid-widget(name='orbit-menu-contact-removed')
|
||||
template ${value != "" ? `
|
||||
<solid-delete class="menu-delete-button button-remove icon children-icon-close" data-src='${value}' data-label="" confirmation-type="confirm" confirmation-message="Vous êtes sur le point de retirer ce contact. Etes-vous sûr ?" confirmation-submit-text="Oui, valider" confirmation-cancel-text="Non, c'est une erreur" confirmation-submit-class="segment sm-full text-center button text-xsmall text-bold text-uppercase reversed color-secondary bordered padding-right-medium padding-left-medium margin-right-xsmall sm-margin-right-none sm-margin-bottom-medium" confirmation-cancel-class="segment sm-full text-center button text-xsmall text-bold text-uppercase color-secondary bordered padding-right-medium padding-left-medium margin-left-xsmall sm-margin-left-none"></solid-delete>` : ""}
|
||||
<solid-delete class="menu-delete-button button-remove icon children-icon-close" data-src='${value}' data-label="d" confirmation-type="confirm" confirmation-message="Vous êtes sur le point de retirer ce contact. Etes-vous sûr ?" confirmation-submit-text="Oui, valider" confirmation-cancel-text="Non, c'est une erreur" confirmation-submit-class="segment sm-full text-center button text-xsmall text-bold text-uppercase reversed color-secondary bordered padding-right-medium padding-left-medium margin-right-xsmall sm-margin-right-none sm-margin-bottom-medium" confirmation-cancel-class="segment sm-full text-center button text-xsmall text-bold text-uppercase color-secondary bordered padding-right-medium padding-left-medium margin-left-xsmall sm-margin-left-none"></solid-delete>` : ""}
|
||||
//- Fix: using type confirm, dialog is not available on Firefox, polyfill only works if dialog is a direct child of body
|
Loading…
Reference in New Issue
Block a user