Skip to content

Commit bc30e44

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 70fbdab commit bc30e44

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
@@ -206,12 +206,12 @@ const SandboxDropdown = ({ ariaLabel, label }: SandboxDropdownProps) => {
206206
<div className={s.introSandboxRow}>
207207
<ProductIcon
208208
productSlug={currentProduct.slug as ProductSlug}
209-
size={24}
209+
size={16}
210210
className={s.productIcon}
211211
/>
212212
<Text
213213
asElement="span"
214-
className={`${s.sectionTitle} ${s.introSandboxTitle}`}
214+
className={`${s.sectionTitle} ${s.introSandboxTitle} ${s.title}`}
215215
size={200}
216216
weight="semibold"
217217
>
@@ -220,7 +220,7 @@ const SandboxDropdown = ({ ariaLabel, label }: SandboxDropdownProps) => {
220220
</div>
221221
<Text
222222
asElement="span"
223-
className={`${s.introText} ${s.introSandboxText}`}
223+
className={`${s.introText} ${s.introSandboxText} ${s.description}`}
224224
size={100}
225225
weight="regular"
226226
>

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)