BLOG-27 refactor: reorder tailwind css
All checks were successful
Frontend CI / build (push) Successful in 1m22s
PR Title Check / pr-title-check (pull_request) Successful in 12s

This commit is contained in:
Zoe 2025-01-21 23:16:05 +08:00
parent 6662d9c7de
commit 7e1f4ea942

View File

@ -38,7 +38,7 @@ export default function Terminal() {
return (
<div
ref={element}
className={`bg-true-gray-700 border-true-gray-800 flex w-full flex-col gap-y-1.5 rounded-2xl border-4 p-4 pb-28 font-mono font-medium text-gray-50 shadow-lg md:shadow-xl transition-opacity duration-300 md:gap-y-2.5 md:rounded-3xl md:border-8 md:p-8 md:pb-32 md:text-xl ${isReady ? "opacity-100" : "opacity-0"}`}
className={`flex w-full flex-col gap-y-1.5 rounded-2xl border-4 border-true-gray-800 bg-true-gray-700 p-4 pb-28 font-mono font-medium text-gray-50 shadow-lg transition-opacity duration-300 md:gap-y-2.5 md:rounded-3xl md:border-8 md:p-8 md:pb-32 md:text-xl md:shadow-xl ${isReady ? "opacity-100" : "opacity-0"}`}
>
{lines.slice(0, currentIndex).map((line, index) => (
<NormalLine key={index} text={line} />