We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 437657d + 073c5ac commit 41442f0Copy full SHA for 41442f0
app/styles/crate.scss
@@ -26,6 +26,12 @@
26
@include flex-direction(column);
27
}
28
29
+ .crate-icon {
30
+ // Icon doesn't align nicely with text (which is being
31
+ // aligned by their baselines) so manual adjustment needed.
32
+ position: relative;
33
+ top: 4px;
34
+ }
35
h1 {
36
padding-left: 10px;
37
padding-right: 10px;
app/templates/crate/version.hbs
@@ -3,7 +3,7 @@
3
<div id='crates-heading' data-test-heading>
4
<div class="wide">
5
<div class='info'>
6
- {{svg-jar "crate"}}
+ {{svg-jar "crate" class='crate-icon'}}
7
<h1 data-test-crate-name>{{ crate.name }}</h1>
8
<h2 data-test-crate-version>{{ currentVersion.num }}</h2>
9
</div>
0 commit comments