Skip to content

Commit 8b0a7e7

Browse files
committed
update faucet styles for ulta-wide displays
1 parent d46f9ab commit 8b0a7e7

File tree

5 files changed

+9
-6
lines changed

5 files changed

+9
-6
lines changed

src/components/Accordion/accordion.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
cursor: pointer;
2424
margin-left: 24px;
2525
margin-right: 24px;
26-
display: block;
26+
display: flex;
2727
height: 16px;
2828
line-height: 1;
2929

src/components/Faucet/Faq.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,9 @@ export default function Faq({ network, className, classNameHeading, isLimitedUse
171171
<div className={className}>
172172
<div className={classNameHeading}>
173173
<Text as="h2">Frequently Asked Questions</Text>
174-
<Text as="p">Answers to commonly asked questions about the MetaMask faucet.</Text>
174+
<Text as="p" className={styles.faqDescription}>
175+
Answers to commonly asked questions about the MetaMask faucet.
176+
</Text>
175177
</div>
176178
{isLimitedUserPlan && (
177179
<Accordion>

src/components/Faucet/faq.module.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@
66
margin: 0;
77
padding: 0 24px 24px;
88
}
9+
.faqDescription {
10+
line-height: normal;
11+
}

src/components/Faucet/hero.module.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@
2525
}
2626

2727
.heroWrapper {
28-
max-width: 1420px;
29-
width: 100%;
28+
width: calc(100% - var(--page-padding-x) * 2);
3029
margin: 0 auto;
3130
}
3231

src/pages/developer-tools/faucet.module.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@
9898
text-align: center;
9999
margin: 0 auto;
100100
width: 100%;
101-
max-width: 600px;
102101
margin-bottom: 48px;
103102
}
104103

@@ -124,7 +123,7 @@
124123
.faq {
125124
margin: 0 auto;
126125
width: 100%;
127-
max-width: 1014px;
126+
max-width: 1440px;
128127

129128
> *:last-child {
130129
margin-bottom: 0;

0 commit comments

Comments
 (0)