Skip to content

Commit

Permalink
docs(card): move styles to card page
Browse files Browse the repository at this point in the history
  • Loading branch information
bennypowers committed Sep 19, 2024
1 parent 11fa669 commit 0eb1184
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 0 additions & 4 deletions docs/styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,6 @@
figcaption + uxdot-example {
margin-block: var(--rh-space-xl);
}

figure rh-card + figcaption {
margin-block-start: var(--rh-space-xl, 24px);
}
}

@layer patterns {
Expand Down
6 changes: 5 additions & 1 deletion elements/rh-card/docs/10-style.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<style>
<style data-helmet>
.grid {
display: grid;
grid-template-columns: 1fr;
Expand All @@ -10,6 +10,10 @@
grid-template-columns: 1fr 1fr;
}
}

figure rh-card + figcaption {
margin-block-start: var(--rh-space-xl, 24px);
}
</style>


Expand Down

0 comments on commit 0eb1184

Please sign in to comment.