minor fix

This commit is contained in:
daniel31x13 2023-12-12 10:43:40 -05:00
parent 6ba2aab0ba
commit 099024518f
2 changed files with 4 additions and 4 deletions

View File

@ -48,9 +48,9 @@ export default function ProfilePhoto({
</div> </div>
) : ( ) : (
<div <div
className={`avatar skeleton drop-shadow-md ${className || ""} ${ className={`avatar skeleton rounded-full drop-shadow-md ${
dimensionClass || "w-8 h-8 " className || ""
}`} } ${dimensionClass || "w-8 h-8 "}`}
> >
<div className="rounded-full w-full h-full ring-2 ring-neutral-content"> <div className="rounded-full w-full h-full ring-2 ring-neutral-content">
<Image <Image

View File

@ -31,7 +31,7 @@ export default async function urlHandler(link: LinksAndCollectionAndOwner) {
if (user.archiveAsWaybackMachine && link.url) sendToWayback(link.url); if (user.archiveAsWaybackMachine && link.url) sendToWayback(link.url);
if (user.archiveAsPDF || user.archiveAsScreenshot) { if (user.archiveAsPDF || user.archiveAsScreenshot) {
const browser = await chromium.launch({ headless: false }); const browser = await chromium.launch();
const context = await browser.newContext(devices["Desktop Chrome"]); const context = await browser.newContext(devices["Desktop Chrome"]);
const page = await context.newPage(); const page = await context.newPage();