Skip to content

Commit 1a6bf52

Browse files
committed
RevDepRow: Improve downloads styling
1 parent c2f125b commit 1a6bf52

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

app/components/rev-dep-row.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
</div>
1717
<div local-class="downloads">
1818
{{svg-jar "download-arrow" local-class="download-icon"}}
19-
<span local-class="rev-dep-downloads">{{ format-num @dependency.downloads }}</span>
19+
{{format-num @dependency.downloads}}
2020
</div>
2121
</div>

app/components/rev-dep-row.module.css

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,19 @@
5858
.downloads {
5959
display: flex;
6060
align-items: center;
61-
width: 25%;
62-
padding-bottom: 5px;
63-
color: var(--main-color-light);
61+
color: var(--grey600);
62+
font-size: 16px;
63+
font-weight: 500;
6464
font-variant: tabular-nums;
65+
66+
@media only screen and (max-width: 550px) {
67+
margin-top: 5px;
68+
}
6569
}
6670

6771
.download-icon {
72+
width: auto;
73+
height: 16px;
6874
flex-shrink: 0;
69-
color: #b13b89;
70-
}
71-
72-
.rev-dep-downloads {
73-
padding-left: 7px;
75+
margin-right: 7px;
7476
}

0 commit comments

Comments
 (0)