Skip to content

Commit

Permalink
fix(snippets): add style for inline code blocks (#407)
Browse files Browse the repository at this point in the history
* fix(snippets): add style for inline code blocks

* fix(snippets): removed p nesting
  • Loading branch information
wJoenn authored Dec 4, 2023
1 parent 01a5624 commit 4828383
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/assets/stylesheets/application.tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
@apply last:mb-0
}

.snippet code {
@apply text-xs bg-dark px-1 py-0.5 border border-aoc-gray-darker rounded
}

.snippet h1 {
@apply my-4 border-b border-aoc-gray-darker pb-2 font-semibold text-4xl
}
Expand All @@ -44,6 +48,10 @@
@apply my-4 font-semibold text-lg
}

.snippet p {
@apply leading-6
}

.snippet pre {
@apply my-4 relative pt-2 !bg-dark border border-aoc-gray-darker rounded;
}
Expand Down

0 comments on commit 4828383

Please sign in to comment.