Skip to content

Commit 638554c

Browse files
committed
mobile opt
1 parent d6de431 commit 638554c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

www/src/components/Screenshots.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export function Screenshots() {
113113
onTouchMove={onTouchMove}
114114
onTouchEnd={onTouchEnd}
115115
>
116-
<div className="aspect-[16/10] overflow-hidden rounded-lg sm:rounded-2xl bg-card border shadow-lg">
116+
<div className="aspect-[9/16] sm:aspect-[16/10] overflow-hidden rounded-lg sm:rounded-2xl bg-card border shadow-lg">
117117
<picture>
118118
<source media="(max-width: 640px)" srcSet={current.mobile} />
119119
<img

www/src/pages/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ const structuredData = {
9696
<meta name="apple-mobile-web-app-title" content="Gitea Mirror" />
9797

9898
<!-- Structured Data -->
99-
<script type="application/ld+json" set:html={JSON.stringify(structuredData)} />
99+
<script type="application/ld+json" is:inline set:html={JSON.stringify(structuredData)} />
100100

101101
<!-- Preconnect to external domains -->
102102
<link rel="preconnect" href="https://fonts.googleapis.com" />

0 commit comments

Comments
 (0)