Skip to content

Commit

Permalink
Change MDX page css
Browse files Browse the repository at this point in the history
Signed-off-by: Alistair Hey <[email protected]>
  • Loading branch information
Waterdrips authored and rawkode committed Jul 19, 2023
1 parent c4e771b commit ba440cc
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -167,3 +167,5 @@ dist
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.\*

.idea/
Expand Up @@ -5,7 +5,7 @@ const { frontmatter } = Astro.props;

<style>
.mdx-page {
@apply grid place-items-center px-16 md:px-32 lg:px-64;
@apply place-items-center px-16 md:px-32 lg:px-64;
}
</style>

Expand Down
3 changes: 1 addition & 2 deletions projects/rawkode.academy/website/src/pages/index.astro
Expand Up @@ -124,8 +124,7 @@ const companies = [
<strong>{show.name}</strong>
</p>
<p class="card__sub-heading">
{show.episodes_aggregate.aggregate.count} episode
{show.episodes_aggregate.aggregate.count === 1 ? "" : "s"}
{show.episodes_aggregate.aggregate.count} {show.episodes_aggregate.aggregate.count === 1 ? "episode" : "episodes"}
</p>
<p class="card__description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed
Expand Down
Expand Up @@ -90,7 +90,7 @@ const latest = show.episodes[episodeCount - 1];
/>Back to Shows</a
>
<h1>{show.name}</h1>
<p>{episodeCount} episode{episodeCount === 1 ? "" : "s"}</p>
<p>{episodeCount} {episodeCount === 1 ? "episode" :"episodes"}</p>
<p class="show__description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed maximus
risus ac justo imperdiet, sed pretium neque maximus.
Expand Down
Expand Up @@ -54,7 +54,7 @@ const breadcrumbs = [{
</div>
<div class="card__copy">
<p class="card__heading"><strong>{show.name}</strong></p>
<p class="card__sub-heading">{show.episodes_aggregate.aggregate.count} episode{show.episodes_aggregate.aggregate.count === 1 ? '' : 's'}</p>
<p class="card__sub-heading">{show.episodes_aggregate.aggregate.count} {show.episodes_aggregate.aggregate.count === 1?'episode':'episodes'}</p>
<p class="card__description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed maximus risus ac justo imperdiet, sed pretium neque maximus.
</p>
Expand Down
3 changes: 1 addition & 2 deletions projects/rawkode.academy/website/src/styles/base.css
Expand Up @@ -176,5 +176,4 @@ header.alternative {
}

.astro-code {
overflow: visible !important;
}
}

0 comments on commit ba440cc

Please sign in to comment.