Skip to content

Commit

Permalink
Set stack space only on direct children
Browse files Browse the repository at this point in the history
  • Loading branch information
robdekort committed Feb 3, 2024
1 parent 67e42e3 commit 0a48a9f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/build/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resources/css/site.css": {
"file": "assets/site-b3n2Prh9.css",
"file": "assets/site-1SDVoYR7.css",
"isEntry": true,
"src": "resources/css/site.css"
},
Expand Down
4 changes: 3 additions & 1 deletion tailwind.config.peak.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ module.exports = {
matchUtilities(
{
stack: (value) => ({
'--stack-space': value,
'> *': {
'--stack-space': value,
},
'> *:not(.no-space-y, .no-space-b) + *:not(.no-space-y, .no-space-t)': {
marginBlockStart: 'var(--stack-space, 4rem)'
},
Expand Down

0 comments on commit 0a48a9f

Please sign in to comment.