mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-16 01:01:38 +00:00
Fix avatar size
This commit is contained in:
@ -24,7 +24,6 @@ const GistsCode = ({ gist, f }: Props) => {
|
||||
async function getRawCode() {
|
||||
const res = await fetch(url);
|
||||
const raw = await res.text();
|
||||
console.log(raw);
|
||||
setRawCode(`\`\`\`${format ?? ''}\n${raw}`);
|
||||
}
|
||||
}, [format, url]);
|
||||
|
@ -16,7 +16,7 @@ const Gists = ({
|
||||
<>
|
||||
<main className="max-w-5xl px-4 mx-auto lg:px-0">
|
||||
<div className="md:flex">
|
||||
<div className="flex items-center md:block">
|
||||
<div className="flex items-center flex-1 max-w-[280px] md:block">
|
||||
<div
|
||||
className={classNames(
|
||||
'w-16 h-16 mr-4 overflow-hidden',
|
||||
@ -43,7 +43,7 @@ const Gists = ({
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="py-4 overflow-hidden md:pl-8">
|
||||
<div className="flex-1 py-4 overflow-hidden md:pl-8">
|
||||
{gists.map((g) => (
|
||||
<div key={g.id}>
|
||||
{Object.keys(g.files).map((f) => (
|
||||
|
Reference in New Issue
Block a user