Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added padding in examples header #632

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/layouts/CommunityLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ setJumpToState({

<BaseLayout title="Community">
<section>
<h2>{t("Sketches")}<a id="sketches"></a></h2>
<h2 class="mb-gutter-md mt-0">{t("Sketches")}<a id="sketches"></a></h2>
<ul class="content-grid-simple">
{
sketches.map((sk, i) => (
Expand Down Expand Up @@ -74,7 +74,7 @@ setJumpToState({
</section>

<section>
<h2>{t("Libraries")}<a id="libraries"></a></h2>
<h2 class="mb-gutter-md mt-0">{t("Libraries")}<a id="libraries"></a></h2>
<ul class="content-grid-simple">
{
libraries.map((lib) => (
Expand All @@ -94,7 +94,7 @@ setJumpToState({
</section>

<section>
<h2>{t("Events")}<a id="events"></a></h2>
<h2 class="mb-gutter-md mt-0">{t("Events")}<a id="events"></a></h2>
<ul class="content-grid-simple">
{
events.map((event, i) => (
Expand Down
4 changes: 2 additions & 2 deletions src/layouts/ContributeLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ setJumpToState({

<BaseLayout title="Contribute">
<section>
<h2 id="docs">{t("Contributor Docs")}</h2>
<h2 id="docs" class="mb-gutter-md mt-0">{t("Contributor Docs")}</h2>
<div
class="mb-md grid grid-cols-1 gap-x-gutter-sm md:gap-x-gutter-md lg:grid-cols-2"
>
Expand Down Expand Up @@ -81,7 +81,7 @@ setJumpToState({
</ul>
</section>
<section>
<h2 id="donate">{t("Donate")}</h2>
<h2 id="donate" class="mb-gutter-md mt-0">{t("Donate")}</h2>
<ul class="content-grid-simple">
{
// This is the same markup as in ContributorDocItem
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/ExamplesLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ setJumpToState(jumpToState);
{
examplesByCategory.map((category, i) => (
<section class="grid">
<h2 class="col-span-full">
<h2 class="col-span-full mb-gutter-md mt-0">
{category.name} <a id={category.name.toLowerCase()} />
</h2>
<ul class="col-span-full content-grid-simple">
Expand Down