diff --git a/components/anime/charactersCard.js b/components/anime/charactersCard.js index 409c4b74..abff2ba5 100644 --- a/components/anime/charactersCard.js +++ b/components/anime/charactersCard.js @@ -7,8 +7,8 @@ export default function Characters({ info }) { const [showAll, setShowAll] = useState(false); return ( -
-
+
+

Characters

{info?.length > 6 && (
setShowAll(!showAll)}> @@ -16,11 +16,12 @@ export default function Characters({ info }) {
)}
-
- {info?.slice(0, showAll ? info.length : 6).map((item, index) => { + {/* for bigger device */} +
+ {info.slice(0, showAll ? info.length : 6).map((item, index) => { return -
-
+
+
+ {/* for smaller devices */} +
+ {info.slice(0, showAll ? info.length : 6).map((item, index) => { + return + })} +
); } \ No newline at end of file diff --git a/package.json b/package.json index ada5e1b7..a72238b7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "moopa", - "version": "4.0.6", + "version": "4.0.7", "private": true, "founder": "Factiven", "scripts": { diff --git a/release.md b/release.md index 506ef786..45297374 100644 --- a/release.md +++ b/release.md @@ -2,12 +2,8 @@ This document contains a summary of all significant changes made to this release. -## 🎉 Update v4.0.6 +## 🎉 Update v4.0.7 ### Fixes -- Video won't play due to outdated code - -### Changed - -- Updated readme for cors usage +- Improved character card UI for smaller devices