(refactor) InfoBox: setting max width
This commit is contained in:
@@ -15,7 +15,7 @@ export const EnterOrSignInButton: FC<{ session: any, locale: string, providers:
|
||||
return (
|
||||
<>
|
||||
{
|
||||
!session ? (
|
||||
session ? (
|
||||
<span className="flex justify-center mt-4">
|
||||
|
||||
<Link
|
||||
|
||||
@@ -17,7 +17,7 @@ export const InfoBox: FC<{
|
||||
<span className="ml-2 text-sm text-gray-500 group-open:hidden"><ChevronDownIcon className="w-5 h-5 inline" /></span>
|
||||
<span className="ml-2 text-sm text-gray-500 hidden group-open:inline"><ChevronUpIcon className="w-5 h-5 inline" /></span>
|
||||
</summary>
|
||||
<div className="mt-2 italic text-sm text-gray-400 group-open:animate-[animateDown_0.2s_linear_forwards]">{children}</div>
|
||||
<div className="mt-2 italic text-sm text-gray-400 group-open:animate-[animateDown_0.2s_linear_forwards] max-w-[30rem]">{children}</div>
|
||||
</details>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user