diff --git a/Site Web/client/src/components/AjoutLien.js b/Site Web/client/src/components/AjoutLien.js index 4ef8e33f..28834887 100644 --- a/Site Web/client/src/components/AjoutLien.js +++ b/Site Web/client/src/components/AjoutLien.js @@ -19,7 +19,7 @@ const AjoutLien = () => { dispatch(getPosts()); cancelPost(); setDisplayAdd(false); - window.location.reload(); + /*window.location.reload();*/ }else { alert("Veuillez compléter tous les champs.") } diff --git a/Site Web/client/src/styles/component/_ajoutLien.scss b/Site Web/client/src/styles/component/_ajoutLien.scss index 8a647b91..a48f7f88 100644 --- a/Site Web/client/src/styles/component/_ajoutLien.scss +++ b/Site Web/client/src/styles/component/_ajoutLien.scss @@ -59,21 +59,6 @@ ul { margin: 20px 0 0; max-height: 500px; - overflow-y: scroll; - overflow-x: hidden; - - &::-webkit-scrollbar { - width: 2px; - } - &::-webkit-scrollbar-track { - background: $color-4; - } - &::-webkit-scrollbar-thumb { - background: $color-1; - } - &::-webkit-scrollbar-thumb:hover { - background: #555; - } li { display: grid; diff --git a/Site Web/client/src/styles/component/_politiqueDeConfidentialite.scss b/Site Web/client/src/styles/component/_politiqueDeConfidentialite.scss index 0ad991c8..18495a69 100644 --- a/Site Web/client/src/styles/component/_politiqueDeConfidentialite.scss +++ b/Site Web/client/src/styles/component/_politiqueDeConfidentialite.scss @@ -3,7 +3,7 @@ display: flex; justify-content: center; flex-direction: column; - margin-top: 2%; + margin-top: 0.2%; margin-left: 5%; text-indent: 1%; text-align: justify; @@ -19,15 +19,15 @@ scrollbar-gutter: stable both-edges; p{ - animation-duration: 2s; + animation-duration: 1s; animation-name: slide; margin: 1.5%; @keyframes slide { from { - margin-top: 100%; - width: 50%; + margin-top: 80%; + width: 80%; } to {