Skip to content

Commit 55616a8

Browse files
committed
chore: drill down on a few responsive issues
1 parent db8c1ce commit 55616a8

4 files changed

Lines changed: 18 additions & 36 deletions

File tree

src/components/Docs/Docs.style.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const Section = styled.section`
1212
background: #fff;
1313
border-radius: 8px;
1414
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
15-
h2, h3, details, summary {
15+
h2, h3 {
1616
margin-bottom: 14px;
1717
}
1818
`
@@ -46,8 +46,4 @@ export const Warning = styled.div`
4646
border-radius: 4px;
4747
color: #cc0000;
4848
font-weight: 500;
49-
`
50-
51-
export const FAQ = styled.div`
52-
margin-top: 15px;
5349
`

src/components/Docs/Docs.tsx

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -69,36 +69,6 @@ const Docs: React.FC = () => {
6969
</Styled.StepContent>
7070
</Styled.Section>
7171

72-
<Styled.Section>
73-
<h2>Troubleshooting</h2>
74-
<Styled.FAQ>
75-
<details>
76-
<summary>Transaction Failed</summary>
77-
<ul>
78-
<li>Verify you have sufficient ETH for gas</li>
79-
<li>Ensure you're on Ethereum Mainnet</li>
80-
<li>Try increasing gas price slightly</li>
81-
</ul>
82-
</details>
83-
<details>
84-
<summary>Authorization Not Showing</summary>
85-
<ul>
86-
<li>Confirm you're using the correct Dapper wallet address</li>
87-
<li>Wait for transaction confirmation (may take a few minutes)</li>
88-
<li>Try refreshing the page</li>
89-
</ul>
90-
</details>
91-
<details>
92-
<summary>Wallet Connection Issues</summary>
93-
<ul>
94-
<li>Ensure only one wallet extension is active</li>
95-
<li>Clear browser cache and reload</li>
96-
<li>Check network connection</li>
97-
</ul>
98-
</details>
99-
</Styled.FAQ>
100-
</Styled.Section>
101-
10272
{/* <Styled.Section>
10373
<h2>Additional Options</h2>
10474
<p>

src/components/Header/Header.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ const Header: React.FC<AuthProps> = ({ loggedIn, handleSignIn, handleSignOut, is
88
<h1>
99
<Link to={'/'}>
1010
<img src={`${BASE_URL}/dapper-wallet.png`} alt="Dapper Labs" />
11-
{'Dapper Legacy Wallet Support App'}
11+
<span>{'Dapper Legacy Wallet Support App'}</span>
12+
<span className={'mobile'}>{'DLW Support App'}</span>
1213
</Link>
1314
</h1>
1415
{loggedIn ? (

src/style/index.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,20 @@ export const Header = styled.header`
2020
width: 48px;
2121
margin-right: 16px;
2222
}
23+
> span {
24+
font-size: 18px;
25+
display: none;
26+
@media (min-width: ${breaks['md']}) {
27+
font-size: 24px;
28+
display: inline;
29+
}
30+
&.mobile {
31+
display: inline;
32+
@media (min-width: ${breaks['md']}) {
33+
display: none;
34+
}
35+
}
36+
}
2337
}
2438
}
2539
> button {
@@ -114,6 +128,7 @@ export const Main = styled.main`
114128
width: 100%;
115129
font-size: ${fontSize['lg']};
116130
margin-bottom: ${gutters['md']};
131+
box-sizing: border-box;
117132
}
118133
input[type='text'], textarea {
119134
max-width: 620px;

0 commit comments

Comments
 (0)