diff --git a/src/App.css b/src/App.css index 938eb18..e85214d 100644 --- a/src/App.css +++ b/src/App.css @@ -125,6 +125,14 @@ height: 18em; } +.reviewsection { + display: flex; + flex-direction: column; + padding: 0.1em; + /* overflow: hidden; */ + max-height: 100%; +} + .cardchild:hover + .actualreviewdiv { transition: 1s; transform: rotateY(100); @@ -142,12 +150,14 @@ text-align: center; } + .reviewheadertext { margin-bottom: -0.2em; } .cardchild p { - margin-bottom: -1.5em; + margin: 0; + padding: 0.1em; } .cardchild a { @@ -156,9 +166,7 @@ color: pink; text-decoration: underline; margin-bottom: 0%; - .fadein { - animation: spawntop 1s; - } + transition: opacity 1s ease; } .cardchild span { @@ -386,17 +394,6 @@ } } -@keyframes spawntop { - 0% { - opacity: 0%; - transform: translateY(1em); - } - - 100% { - opacity: 100%; - transform: translateY(0); - } -} @keyframes shake { 0% { diff --git a/src/components/api.tsx b/src/components/api.tsx index 1452eac..6ea087a 100644 --- a/src/components/api.tsx +++ b/src/components/api.tsx @@ -41,16 +41,17 @@ export default function Reviews() { }); return ( - <> +
add your reviews here
-