We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dedf6b commit 8a6b365Copy full SHA for 8a6b365
app/components/crate-list.hbs
@@ -2,7 +2,7 @@
2
{{!-- The extra div wrapper is needed for specificity issues with `margin` --}}
3
<ol local-class="list">
4
{{#each @crates as |crate index|}}
5
- <li local-class="row">
+ <li>
6
<CrateRow @crate={{crate}} data-test-crate-row={{index}} />
7
</li>
8
{{/each}}
app/components/crate-list.module.css
@@ -2,10 +2,8 @@
margin: 0;
padding: 0;
list-style: none;
-}
-.row {
- &:not(:last-child) {
9
- margin-bottom: 15px;
+ > * + * {
+ margin-top: var(--space-s);
10
}
11
0 commit comments