Skip to content

Commit 2fd42a4

Browse files
committed
fix: typography issues in downloads page
1 parent 38c3133 commit 2fd42a4

2 files changed

Lines changed: 19 additions & 1 deletion

File tree

static/css/v3/downloads-table-card.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,14 @@
5555
color: var(--color-text-primary);
5656
}
5757

58+
.downloads-table-card__os-name {
59+
font-family: var(--font-sans);
60+
font-size: var(--font-size-xs);
61+
font-weight: var(--font-weight-medium);
62+
line-height: 100%;
63+
letter-spacing: -0.12px;
64+
}
65+
5866
.downloads-table-card__td--file {
5967
word-break: break-all;
6068
}
@@ -124,8 +132,18 @@
124132
display: flex;
125133
}
126134

135+
@media (max-width: 1279px) {
136+
.downloads-table-card__os-name {
137+
font-size: 10px;
138+
line-height: 10px;
139+
letter-spacing: -0.1px;
140+
}
141+
}
142+
127143
/* ── Mobile ── */
128144
@media (max-width: 767px) {
145+
146+
129147
.downloads-table-card__wrapper {
130148
-webkit-overflow-scrolling: touch;
131149
}

templates/v3/includes/_downloads_table_card.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
{% elif 'Windows' in os or 'Binary' in os %}
3232
<span class="downloads-table-card__os-icon" aria-hidden="true">{% include "includes/icon.html" with icon_name="windows" icon_size=16 icon_viewbox="0 0 16 16" %}</span>
3333
{% endif %}
34-
<span>{{ os }}</span>
34+
<span class="downloads-table-card__os-name">{{ os }}</span>
3535
</div>
3636
</td>
3737
{% endif %}

0 commit comments

Comments
 (0)