Skip to content

Commit b538b37

Browse files
committed
fix: fix styling issues from QA feedback
1 parent 635f9e5 commit b538b37

4 files changed

Lines changed: 7 additions & 12 deletions

File tree

static/css/v3/card.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
font-style: normal;
7878
font-weight: var(--font-weight-medium);
7979
line-height: var(--line-height-tight);
80-
letter-spacing: var(--letter-spacing-display-regular);
80+
letter-spacing: var(--letter-spacing-tight);
8181
margin: 0;
8282
}
8383

static/css/v3/help-card.css

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,9 @@
1818
}
1919

2020
.help-card-section__heading {
21-
font-family: var(--font-display);
22-
font-size: var(--font-size-large);
23-
font-weight: var(--font-weight-medium);
24-
color: var(--color-text-primary);
25-
margin: 0;
2621
width: 100%;
2722
align-self: flex-start;
2823
padding: var(--space-large);
29-
line-height: var(--line-height-tight);
3024
}
3125

3226
.help-card-section__grid {
@@ -53,7 +47,7 @@
5347
.help-card__bubble {
5448
display: flex;
5549
height: fit-content;
56-
background: var(--color-surface-mid);
50+
background: var(--color-surface-strong);
5751
border-radius: var(--space-large);
5852
padding: var(--space-large);
5953
}
@@ -67,7 +61,7 @@
6761
}
6862

6963
.help-card__tail {
70-
fill: var(--color-surface-mid);
64+
fill: var(--color-surface-strong);
7165
}
7266

7367
.help-card__quote {
@@ -80,12 +74,11 @@
8074
}
8175

8276
.help-card__description {
83-
font-size: var(--font-size-small);
77+
font-size: var(--font-size-base);
8478
line-height: var(--line-height-default);
8579
color: var(--color-text-secondary);
8680
margin: var(--space-xl) 0 var(--space-large) 0;
8781
padding: 0;
88-
flex: 1;
8982
}
9083

9184
.help-card__cta {

static/css/v3/library-discovery-card.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
.library-discovery-card__description {
2424
margin: 0;
2525
font-size: var(--font-size-small);
26+
letter-spacing: var(--letter-spacing-tight);
27+
line-height: var(--line-height-relaxed);
2628
color: var(--color-text-secondary);
2729
padding: 0;
2830
margin-bottom: var(--space-large);

templates/v3/includes/_help_card.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
{% endcomment %}
1919
<section class="help-card-section {% if extra_classes %}{{ extra_classes }}{% endif %}"
2020
aria-label="{{ aria_label|default:heading }}">
21-
<h2 class="help-card-section__heading">{{ heading }}</h2>
21+
<h2 class="card__title help-card-section__heading">{{ heading }}</h2>
2222
<hr class="card__hr" aria-hidden="true" />
2323
<div class="help-card-section__grid">
2424
{% for option in items %}

0 commit comments

Comments
 (0)