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">
|
<div className="font-bold text-sm flex justify-end gap-1 items-center">
|
||||||
{collection.isPublic ? (
|
{collection.isPublic ? (
|
||||||
<i
|
<i
|
||||||
className="bi-globe-americas drop-shadow text-neutral"
|
className="bi-globe2 drop-shadow text-neutral"
|
||||||
title="This collection is being shared publicly."
|
title="This collection is being shared publicly."
|
||||||
></i>
|
></i>
|
||||||
) : undefined}
|
) : undefined}
|
||||||
|
|
|
@ -46,7 +46,7 @@ export default function MainLayout({ children }: Props) {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<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"
|
showAnnouncement ? "full" : "screen"
|
||||||
} lg:ml-80 ${showAnnouncement ? "mt-10" : ""}`}
|
} lg:ml-80 ${showAnnouncement ? "mt-10" : ""}`}
|
||||||
>
|
>
|
||||||
|
|
|
@ -43,7 +43,8 @@ export default async function archiveHandler(link: LinksAndCollectionAndOwner) {
|
||||||
? await validateUrlSize(link.url)
|
? await validateUrlSize(link.url)
|
||||||
: undefined;
|
: 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");
|
const contentType = validatedUrl?.get("content-type");
|
||||||
let linkType = "url";
|
let linkType = "url";
|
||||||
|
|
Ŝarĝante…
Reference in New Issue