Skip to content

Commit 958fa74

Browse files
committed
crates: Simplify crates-heading content
1 parent eb67121 commit 958fa74

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

app/styles/crate.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
padding-left: 10px;
3131
padding-right: 10px;
3232
}
33-
h2 { color: $main-color-light; padding-left: 10px; }
33+
h2, small { color: $main-color-light; padding-left: 10px; }
3434
.right {
3535
flex: 2;
3636
display: flex;

app/templates/crates.hbs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
{{ title 'Crates' }}
22

33
<div class="crates-heading">
4-
<div class='info'>
4+
<h1>
55
{{svg-jar "crate"}}
6-
<h1>All Crates</h1>
7-
</div>
8-
{{#if this.letter}}
9-
<h2>starting with '{{ this.letter }}'</h2>
10-
{{/if}}
6+
All Crates
7+
<small>starting with '{{this.letter}}'</small>
8+
</h1>
119
</div>
1210

1311
<div id='selection'>

0 commit comments

Comments
 (0)