Skip to content

Commit 5d54404

Browse files
UI fixes (#2275)
* Update Products.html * Fix tutorials dropdown issue * fix selected menu --------- Co-authored-by: Yashovardhan Agrawal <21066442+yashovardhan@users.noreply.github.com> Co-authored-by: Alexandra Tran <alexandratran@protonmail.com>
1 parent 5bce692 commit 5d54404

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

src/components/NavDropdown/Products.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<span class="product-selection-menu">
33
<ul>
44
<li>
5-
<a href="/sdk" id="metamask-sdk-menu-button" onfocus='
5+
<a href="/sdk" id="metamask-sdk-menu-button" class="selected" onfocus='
66
document.getElementById("metamask-sdk-menu-button").classList.add("selected");
77
document.getElementById("metamask-sdk-menu").classList.add("selected-menu");
88
document.getElementById("delegation-toolkit-menu-button").classList.remove("selected");
@@ -25,7 +25,7 @@ <h2>Connect to MetaMask</h2>
2525
</a>
2626
</li>
2727
<li>
28-
<a href="/embedded-wallets" id="embedded-wallets-button" class="selected" onfocus='
28+
<a href="/embedded-wallets" id="embedded-wallets-button" onfocus='
2929
document.getElementById("embedded-wallets-button").classList.add("selected");
3030
document.getElementById("embedded-wallets").classList.add("selected-menu");
3131
document.getElementById("delegation-toolkit-menu-button").classList.remove("selected");
@@ -95,7 +95,7 @@ <h2>Extend and scale</h2>
9595
</li>
9696
</ul>
9797
</span>
98-
<span class="sdk-selection-menu" id="metamask-sdk-menu">
98+
<span class="sdk-selection-menu selected-menu" id="metamask-sdk-menu">
9999
<ul>
100100
<li>
101101
<a href="/sdk/">
@@ -137,7 +137,7 @@ <h2>Wallet API</h2>
137137
</li>
138138
</ul>
139139
</span>
140-
<span class="sdk-selection-menu selected-menu" id="embedded-wallets">
140+
<span class="sdk-selection-menu" id="embedded-wallets">
141141
<ul>
142142
<li>
143143
<a href="/embedded-wallets/sdk/react">

src/components/TutorialsPage/CustomSelect.module.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
font-size: 14px;
88
line-height: 125%;
99
box-sizing: border-box;
10+
overflow: visible;
1011
}
1112

1213
.control {
@@ -181,7 +182,7 @@
181182
box-shadow:
182183
0 4px 6px -1px rgb(0 0 0 / 10%),
183184
0 2px 4px -1px rgb(0 0 0 / 6%);
184-
z-index: 1000;
185+
z-index: 9999;
185186
position: absolute;
186187
top: 100%;
187188
left: 0;

src/components/TutorialsPage/styles.module.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
justify-content: space-between;
3535
max-width: 100%;
3636
box-sizing: border-box;
37-
overflow-x: hidden;
37+
overflow: visible;
3838
}
3939

4040
.article {
@@ -152,7 +152,7 @@
152152
align-items: flex-start;
153153
gap: 24px;
154154
padding: 0 8px;
155-
overflow-x: hidden;
155+
overflow: visible;
156156
}
157157

158158
.searchArea {
@@ -162,7 +162,7 @@
162162
align-items: center;
163163
justify-content: flex-start;
164164
gap: 16px;
165-
overflow-x: hidden;
165+
overflow: visible;
166166
}
167167

168168
.searchInput {
@@ -667,7 +667,7 @@ html[data-theme='dark'] mark {
667667
.searchArea {
668668
justify-content: flex-start;
669669
width: 100%;
670-
overflow-x: hidden;
670+
overflow: visible;
671671
}
672672
}
673673

src/pages/tutorials/flutter-wallet.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Create a chain-agnostic web3 wallet in Flutter
33
image: 'img/tutorials/tutorials-banners/flutter-wallet.png'
44
description: Empower your Flutter app with a chain-agnostic web3 wallet using the Web3Auth PnP SDK.
5-
tags: [embedded wallets, flutter, andriod, ios, evm, solana, web3auth]
5+
tags: [embedded wallets, flutter, android, ios, evm, solana, web3auth]
66
date: April 22, 2024
77
author: MetaMask Developer Relations
88
---

0 commit comments

Comments
 (0)