Skip to content

Commit d59e59d

Browse files
committed
CrateList: Remove @exactMatch support
1 parent f13f56f commit d59e59d

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

app/components/crate-list.hbs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
<div ...attributes>
22
{{!-- The extra div wrapper is needed for specificity issues with `margin` --}}
33
<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-
134
{{#each @crates as |crate index|}}
145
<li local-class="row">
156
<CrateRow @crate={{crate}} data-test-crate-row={{index}} />

app/components/crate-list.module.css

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,3 @@
99
margin-bottom: 15px;
1010
}
1111
}
12-
13-
.exact-match:not(:last-child) {
14-
margin-bottom: 60px;
15-
16-
h1 {
17-
margin-top: 0;
18-
color: green
19-
}
20-
}

0 commit comments

Comments
 (0)