Skip to content

Commit 88a87a5

Browse files
yashrajbhartiyashrajbharticybtekk
andauthored
Refactor/nav (#526)
Moved Searchbar inside panel contents, so it hides when phone menu is collapsed. <img width="300" height="auto" alt="Screenshot 2025-07-16 at 6 08 20 AM" src="https://github.com/user-attachments/assets/3d47b441-3a5d-42e5-a654-77e5a8b74cd6" /> <img width="300" height="auto" alt="Screenshot 2025-07-16 at 6 07 24 AM" src="https://github.com/user-attachments/assets/d41846b2-cd86-4eee-b47d-8f954fa7451c" /> <img width="500" height="auto" alt="Screenshot 2025-07-16 at 6 07 35 AM" src="https://github.com/user-attachments/assets/63f33ecb-5dc4-4cd9-93a7-757c1ce8e46c" /> Related to #379 --------- Co-authored-by: yashrajbharticybtekk <[email protected]>
1 parent 6ae0a5c commit 88a87a5

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

index.html

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -33,30 +33,30 @@
3333
<h1>
3434
<a href="./">WebGPU Samples</a>
3535
</h1>
36-
<search>
37-
<hr />
38-
<label>
39-
<svg
40-
width="24px"
41-
height="24px"
42-
viewBox="0 0 1024 1024"
43-
class="icon"
44-
version="1.1"
45-
xmlns="http://www.w3.org/2000/svg"
46-
>
47-
<title>Search</title>
48-
<path
49-
d="M448 768A320 320 0 1 0 448 128a320 320 0 0 0 0 640z m297.344-76.992l214.592 214.592-54.336 54.336-214.592-214.592a384 384 0 1 1 54.336-54.336z"
50-
fill="currentColor"
51-
/>
52-
</svg>
53-
<input type="search" name="search" />
54-
</label>
55-
<hr />
56-
</search>
5736
<input type="checkbox" id="menuToggle">
5837
<label class="expand" for="menuToggle"></label>
5938
<div class="panelContents">
39+
<search>
40+
<hr />
41+
<label>
42+
<svg
43+
width="24px"
44+
height="24px"
45+
viewBox="0 0 1024 1024"
46+
class="icon"
47+
version="1.1"
48+
xmlns="http://www.w3.org/2000/svg"
49+
>
50+
<title>Search</title>
51+
<path
52+
d="M448 768A320 320 0 1 0 448 128a320 320 0 0 0 0 640z m297.344-76.992l214.592 214.592-54.336 54.336-214.592-214.592a384 384 0 1 1 54.336-54.336z"
53+
fill="currentColor"
54+
/>
55+
</svg>
56+
<input type="search" name="search" />
57+
</label>
58+
<hr />
59+
</search>
6060
<a href="https://github.com/webgpu/webgpu-samples">
6161
Github
6262
</a>

0 commit comments

Comments
 (0)