Skip to content

Commit 87b8309

Browse files
committed
feat(mobile): adjust font-size of json preview h2
1 parent 8c725dc commit 87b8309

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/components/ApiExplorer.astro

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,15 @@ import { Aside } from '@astrojs/starlight/components'
126126
>https://pokemon.co/v2/pokemon/ditto</a>
127127
</p>
128128
129-
<article id="json-preview" data-ditto={dittoJson} class="not-content">
129+
<article
130+
id="json-preview"
131+
data-ditto={dittoJson}
132+
class="
133+
not-content
134+
[&_summary_header_h2]:text-lg!
135+
md:[&_summary_header_h2]:text-xl!
136+
"
137+
>
130138
<div id="json-container">hello</div>
131139
</article>
132140
</section>

0 commit comments

Comments
 (0)