minor fix
This commit is contained in:
parent
6ba2aab0ba
commit
099024518f
|
@ -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
|
||||||
|
|
|
@ -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();
|
||||||
|
|
||||||
|
|
Ŝarĝante…
Reference in New Issue