From b546c63c38c608cfbbf68ddd1aa4d1327489d91c Mon Sep 17 00:00:00 2001 From: Factiven Date: Fri, 28 Apr 2023 17:31:15 +0700 Subject: Editor List v0.4 --- components/listEditor.js | 85 +++++++++++++++++++++++++++--------------------- 1 file changed, 48 insertions(+), 37 deletions(-) (limited to 'components') diff --git a/components/listEditor.js b/components/listEditor.js index d90e481..ed54987 100644 --- a/components/listEditor.js +++ b/components/listEditor.js @@ -50,7 +50,7 @@ const ListEditor = ({ animeId, session, stats, prg, max }) => { }; return ( -
+
{message && ( { exit={{ opacity: 0, y: 10 }} className={`${ type === "success" ? "bg-green-500" : "bg-red-500" - } text-white px-4 py-1 mb-4 rounded-md`} + } text-white px-4 py-1 mb-4 rounded-md text-sm sm:text-base`} > {message} )} +
+ List Editor +
-
- - -
-
- - setProgress(e.target.value)} - className="rounded-md px-2 py-1 bg-[#363642]" - min="0" - /> +
+
+ + +
+
+ + setProgress(e.target.value)} + className="rounded-sm px-2 py-1 bg-[#363642] w-[50%] sm:w-[150px] text-sm sm:text-base" + min="0" + /> +
-- cgit v1.2.3