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.
@exactMatch
1 parent f13f56f commit d59e59dCopy full SHA for d59e59d
app/components/crate-list.hbs
@@ -1,15 +1,6 @@
1
<div ...attributes>
2
{{!-- The extra div wrapper is needed for specificity issues with `margin` --}}
3
<ol local-class="list">
4
- {{#if @exactMatch}}
5
- <li local-class="row exact-match">
6
- <LinkTo @route="crate" @model={{@exactMatch}}>
7
- <h1>Exact Match</h1>
8
- </LinkTo>
9
- <CrateRow @crate={{@exactMatch}} data-test-crate-row="exact-match" />
10
- </li>
11
- {{/if}}
12
-
13
{{#each @crates as |crate index|}}
14
<li local-class="row">
15
<CrateRow @crate={{crate}} data-test-crate-row={{index}} />
app/components/crate-list.module.css
@@ -9,12 +9,3 @@
margin-bottom: 15px;
}
-.exact-match:not(:last-child) {
- margin-bottom: 60px;
16
- h1 {
17
- margin-top: 0;
18
- color: green
19
- }
20
-}
0 commit comments