Skip to content

Commit 93fa637

Browse files
committed
Reduces sandbox dropdown intro size matches figma
Reduces the size of the product icon and intro text in the sandbox dropdown for a more visually appealing presentation.
1 parent 8aaf5aa commit 93fa637

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

src/components/navigation-header/components/sandbox-dropdown/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,12 +205,12 @@ const SandboxDropdown = ({ ariaLabel, label }: SandboxDropdownProps) => {
205205
<div className={s.introSandboxRow}>
206206
<ProductIcon
207207
productSlug={currentProduct.slug as ProductSlug}
208-
size={24}
208+
size={16}
209209
className={s.productIcon}
210210
/>
211211
<Text
212212
asElement="span"
213-
className={`${s.sectionTitle} ${s.introSandboxTitle}`}
213+
className={`${s.sectionTitle} ${s.introSandboxTitle} ${s.title}`}
214214
size={200}
215215
weight="semibold"
216216
>
@@ -219,7 +219,7 @@ const SandboxDropdown = ({ ariaLabel, label }: SandboxDropdownProps) => {
219219
</div>
220220
<Text
221221
asElement="span"
222-
className={`${s.introText} ${s.introSandboxText}`}
222+
className={`${s.introText} ${s.introSandboxText} ${s.description}`}
223223
size={100}
224224
weight="regular"
225225
>

src/components/navigation-header/components/sandbox-dropdown/sandbox-dropdown.module.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,13 +167,16 @@
167167
.productIcon {
168168
flex-shrink: 0;
169169
color: var(--token-color-foreground-faint);
170+
width: 16px;
171+
height: 16px;
170172
}
171173

172174
.description {
173175
color: var(--token-color-foreground-faint);
174176
display: block;
175177
line-height: 1.5;
176-
font-size: 14px;
178+
font-size: 13px;
179+
font-weight: 400;
177180
}
178181

179182
.learnMoreLink {

0 commit comments

Comments
 (0)