Skip to content

Commit a31b62e

Browse files
committed
CrateDownloadsList: Use fluid space scale
1 parent 2e0b6e4 commit a31b62e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

app/components/crate-downloads-list.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<ul local-class="list">
22
{{#each @crates as |crate|}}
3-
<li local-class="row">
3+
<li>
44
<LinkTo @route="crate" @model={{crate.id}} local-class="link">
55
{{ crate.name }} ({{ crate.max_version }})
66
{{svg-jar "download-arrow" local-class="download-icon"}}
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
.list {
22
list-style: none;
33
padding: 0;
4-
}
54

6-
.row {
7-
margin: 8px 0;
5+
> * + * {
6+
margin-top: var(--space-2xs);
7+
}
88
}
99

1010
.link {
1111
color: #525252;
1212
background-color: #edebdd;
1313
font-size: 90%;
14-
padding: 20px 10px;
14+
padding: var(--space-s) var(--space-xs);
1515
display: flex;
1616
align-items: center;
1717
}
1818

1919
.download-icon {
2020
color: #b13b89;
2121
margin-left: auto;
22-
margin-right: 4px;
22+
margin-right: var(--space-3xs);
2323
}

0 commit comments

Comments
 (0)