Skip to content

Commit c2f125b

Browse files
committed
RevDepRow: Improve version range styling
1 parent a5da0dc commit c2f125b

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

app/components/rev-dep-row.hbs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
>
1111
{{@dependency.version.crateName}}
1212
</LinkTo>
13-
requires {{@dependency.req}}
13+
<span local-class="range">
14+
depends on {{@dependency.req}}
15+
</span>
1416
</div>
1517
<div local-class="downloads">
1618
{{svg-jar "download-arrow" local-class="download-icon"}}

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@
4848
}
4949
}
5050

51+
.range {
52+
color: var(--grey600);
53+
text-transform: uppercase;
54+
letter-spacing: .7px;
55+
font-size: 13px;
56+
}
57+
5158
.downloads {
5259
display: flex;
5360
align-items: center;

0 commit comments

Comments
 (0)