Skip to content

Commit 57444dc

Browse files
committed
style: add missing line-height, letter-spacing and naming preference
1 parent 4effb64 commit 57444dc

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

ak/homepage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def build_library_highlight_carousel(limit=3):
197197
lv = library_versions.get(library.id)
198198
first_version = library.first_boost_version
199199
slides_by_id[library.id] = {
200-
"name": library.display_name_short,
200+
"name": library.name,
201201
"category_tags": [
202202
(
203203
{

static/css/v3/library-highlight-carousel.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@
116116
font-family: var(--font-display);
117117
font-size: var(--font-size-large);
118118
font-weight: var(--font-weight-medium);
119-
line-height: 1.1;
119+
line-height: var(--line-height-tight);
120+
letter-spacing: var(--letter-spacing-tight);
120121
color: var(--color-text-primary);
121122
min-width: 0;
122123
}
@@ -135,6 +136,7 @@
135136
color: var(--color-text-secondary);
136137
font-size: var(--font-size-small);
137138
line-height: var(--line-height-relaxed);
139+
letter-spacing: var(--letter-spacing-tight);
138140
display: -webkit-box;
139141
line-clamp: 3;
140142
-webkit-line-clamp: 3;
@@ -158,6 +160,8 @@
158160
display: none;
159161
color: var(--color-text-secondary);
160162
font-size: var(--font-size-small);
163+
letter-spacing: var(--letter-spacing-tight);
164+
line-height: var(--line-height-relaxed);
161165
}
162166

163167
.library-highlight-carousel__dots {

0 commit comments

Comments
 (0)