Skip to content

Commit

Permalink
add global portable-text margins
Browse files Browse the repository at this point in the history
  • Loading branch information
milewskibogumil committed Oct 17, 2024
1 parent 8bda62e commit 0cd8a0d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/astro/src/components/ui/portable-text/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ const valueArray = Array.isArray(value) ? value : [value]
}

<style lang="scss">
:global(div > *:not(:last-child)) {
margin-bottom: 0.5rem;
div {
:global(> *:not(:last-child)) {
margin-bottom: 0.5rem;
}
}
</style>

0 comments on commit 0cd8a0d

Please sign in to comment.