diff --git a/Site Web/client/src/components/AjoutLien.js b/Site Web/client/src/components/AjoutLien.js index 53770763..e7cd1f58 100644 --- a/Site Web/client/src/components/AjoutLien.js +++ b/Site Web/client/src/components/AjoutLien.js @@ -29,6 +29,7 @@ const AjoutLien = () => { dispatch(getPosts()); cancelPost(); setDisplayAdd(false); + await new Promise(r => setTimeout(r, 500)); window.location.reload(); }else { alert("Veuillez compléter tous les champs et ajouter au moins un tag.") diff --git a/Site Web/client/src/pages/Profil.js b/Site Web/client/src/pages/Profil.js index cc9bdde9..7d1fd785 100644 --- a/Site Web/client/src/pages/Profil.js +++ b/Site Web/client/src/pages/Profil.js @@ -165,55 +165,53 @@ const Profil = () => { {followingPopup && ( -
-
-

Abonnements

- setFollowingPopup(false)}> - ✕ - - -
-
- )} - {followerPopup && ( -
-
-

Abonnés

- setFollowerPopup(false)}> - ✕ - - -
-
- )} - - +
+
+

Abonnements

+ setFollowingPopup(false)}> + ✕ + + +
+
+ )} + {followerPopup && ( +
+
+

Abonnements

+ setFollowerPopup(false)}> + ✕ + + +
+
+ )} diff --git a/Site Web/client/src/pages/Trends.js b/Site Web/client/src/pages/Trends.js index 0ae4975a..cdee3aa8 100644 --- a/Site Web/client/src/pages/Trends.js +++ b/Site Web/client/src/pages/Trends.js @@ -15,9 +15,7 @@ const Trends = () => { { userData.notif != null && userData.notif.map((notif) => { return ( -
  • -
  • ); }) diff --git a/Site Web/client/src/styles/component/_ajoutLien.scss b/Site Web/client/src/styles/component/_ajoutLien.scss index 78fdc973..378aff92 100644 --- a/Site Web/client/src/styles/component/_ajoutLien.scss +++ b/Site Web/client/src/styles/component/_ajoutLien.scss @@ -8,8 +8,6 @@ cursor: pointer; } - - .popup-ajout-container { position: fixed; animation: popup 1s forwards; diff --git a/Site Web/client/src/styles/component/_miniProfil.scss b/Site Web/client/src/styles/component/_miniProfil.scss index 069ef048..cd50fa3f 100644 --- a/Site Web/client/src/styles/component/_miniProfil.scss +++ b/Site Web/client/src/styles/component/_miniProfil.scss @@ -1,6 +1,7 @@ .miniProfil{ display: flex; justify-content: start; + margin-right: 5px; } .infoMiniProfil{ diff --git a/Site Web/client/src/styles/pages/_profil.scss b/Site Web/client/src/styles/pages/_profil.scss index 69fb79b4..c60df4a6 100644 --- a/Site Web/client/src/styles/pages/_profil.scss +++ b/Site Web/client/src/styles/pages/_profil.scss @@ -59,6 +59,7 @@ position: absolute; top: 10%; left: 50%; + width: 500px; transform: translate(-100%); background: $color-2; padding: 25px; @@ -223,7 +224,7 @@ width: 10%; .imageProfil{ display: flex; -justify-content: center; + justify-content: center; } .flex-menu { diff --git a/Site Web/client/src/styles/pages/_searchBar.scss b/Site Web/client/src/styles/pages/_searchBar.scss index b43a7f25..304edcf8 100644 --- a/Site Web/client/src/styles/pages/_searchBar.scss +++ b/Site Web/client/src/styles/pages/_searchBar.scss @@ -15,7 +15,7 @@ .listUsers{ padding-top: 20px; - li { + ul { list-style: none; padding-left: 10%; padding-bottom: 15px;