diff --git a/elm/Internal/CookiesRegulationModal.elm b/elm/Internal/CookiesRegulationModal.elm index d1307c9..f9e8f5b 100644 --- a/elm/Internal/CookiesRegulationModal.elm +++ b/elm/Internal/CookiesRegulationModal.elm @@ -21,6 +21,7 @@ view model = , class "cookies-regulation-modal" , class "cookies-regulation-show" |> attrWhen (model.modalState == ModalOpened) , style "height" "0" |> attrWhen (model.modalState == ModalClosed) + , style "display" "none" |> attrWhen (model.modalState == ModalClosed) , Events.on "transitionend" (Decode.succeed InternalMsgCloseModal) |> attrWhen (model.modalState == ModalFadeClose) , tabindex -1 ] diff --git a/elm/Internal/Translations.elm b/elm/Internal/Translations.elm index ea59133..6e18584 100644 --- a/elm/Internal/Translations.elm +++ b/elm/Internal/Translations.elm @@ -33,7 +33,7 @@ banner_close locale = "Close banner" Fr -> - "Fermer" + "Fermer le bandeau des cookies" banner_customise : Locale -> String diff --git a/package.json b/package.json index 99bd56c..0b35bf4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rich-id/cookies-regulation", - "version": "0.2.5", + "version": "0.2.7", "scripts": { "build": "parcel build js/cookies-regulation.js", "build-release": "parcel build --no-source-maps js/cookies-regulation.js",