minor fix
This commit is contained in:
parent
23f4142414
commit
f35bc7b9fd
|
@ -172,7 +172,7 @@ export default function CollectionCard({ collection, className }: Props) {
|
|||
<div className="font-bold text-sm flex justify-end gap-1 items-center">
|
||||
{collection.isPublic ? (
|
||||
<i
|
||||
className="bi-globe-americas drop-shadow text-neutral"
|
||||
className="bi-globe2 drop-shadow text-neutral"
|
||||
title="This collection is being shared publicly."
|
||||
></i>
|
||||
) : undefined}
|
||||
|
|
|
@ -46,7 +46,7 @@ export default function MainLayout({ children }: Props) {
|
|||
</div>
|
||||
|
||||
<div
|
||||
className={`w-full pb-40 flex flex-col min-h-${
|
||||
className={`w-full sm:pb-0 pb-40 flex flex-col min-h-${
|
||||
showAnnouncement ? "full" : "screen"
|
||||
} lg:ml-80 ${showAnnouncement ? "mt-10" : ""}`}
|
||||
>
|
||||
|
|
|
@ -43,7 +43,8 @@ export default async function archiveHandler(link: LinksAndCollectionAndOwner) {
|
|||
? await validateUrlSize(link.url)
|
||||
: undefined;
|
||||
|
||||
if (validatedUrl === null) throw "File is too large to be stored.";
|
||||
if (validatedUrl === null)
|
||||
throw "Something went wrong while retrieving the file size.";
|
||||
|
||||
const contentType = validatedUrl?.get("content-type");
|
||||
let linkType = "url";
|
||||
|
|
Ŝarĝante…
Reference in New Issue