Commit d043d9a
committed
fix: command palette in about me pages.
AboutPage.js uses a full-screen, high-z-index overlay, obscuring the CommandPalette rendered by Layout.js.
To make CommandPalette visible on the AboutPage, had to re-import and render it directly within AboutPage.js's component tree.
This way, it respects AboutPage.js's z-indexing and appears on top, while still using the global state from CommandPaletteContext.1 parent 923179e commit d043d9a
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| 57 | + | |
55 | 58 | | |
56 | 59 | | |
57 | 60 | | |
| |||
119 | 122 | | |
120 | 123 | | |
121 | 124 | | |
| 125 | + | |
122 | 126 | | |
123 | 127 | | |
124 | 128 | | |
| |||
0 commit comments