Skip to content

Commit 3486fe6

Browse files
committed
Auto merge of #2464 - Turbo87:dashboard-image, r=locks
dashboard: Convert `img` element to inline SVG icon for consistency 😉 r? @locks
2 parents 664c93e + 935c821 commit 3486fe6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/styles/dashboard.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
margin-left: auto;
1515
padding: 10px;
1616

17-
span { margin-left: 10px; }
1817
.num {
1918
font-size: 30px;
2019
font-weight: bold;
@@ -27,6 +26,7 @@
2726

2827
.stats-label {
2928
composes: small from './shared/typography.module.css';
29+
margin-left: 5px;
3030
}
3131

3232
.my-info {

app/templates/dashboard.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<h1>My Dashboard</h1>
66
<div local-class="stats">
77
<div local-class='downloads'>
8-
<img src="/assets/download.svg">
8+
{{svg-jar "download" local-class="header-icon"}}
99
<span local-class='num'>{{format-num this.myStats.total_downloads}}</span>
1010
<span local-class="stats-label">Total Downloads</span>
1111
</div>

0 commit comments

Comments
 (0)