Commit 49b4f39
feat(navigation): don't render
* chore: update next-env.d.ts
* feat: minimize mobile nav empty space (#8719)
Only render the navItems container when the array has items to prevent
an empty padded container from creating unwanted space in the mobile navigation.
* Update import path for routes type definitions
Signed-off-by: Igor Rodrigues Machado <107290125+igorrm19@users.noreply.github.com>
* Update packages/ui-components/src/Containers/NavBar/index.tsx
Co-authored-by: Claudio Wunder <cwunder@gnome.org>
Signed-off-by: Igor Rodrigues Machado <107290125+igorrm19@users.noreply.github.com>
* Fix conditional rendering of navItems in NavBar
Is this breaking the build with navItems?.length > 0 &&
Signed-off-by: Igor Rodrigues Machado <107290125+igorrm19@users.noreply.github.com>
* Remove blank line in NavBar component
Removed unnecessary blank line before the main navigation items div.
Signed-off-by: Igor Rodrigues Machado <107290125+igorrm19@users.noreply.github.com>
* style: fix prettier formatting in NavBar
---------
Signed-off-by: Igor Rodrigues Machado <107290125+igorrm19@users.noreply.github.com>
Co-authored-by: Claudio Wunder <cwunder@gnome.org>navItems when no children (#8722)1 parent c9a5b32 commit 49b4f39
File tree
1 file changed
+1
-2
lines changed1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
77 | 76 | | |
78 | | - | |
| 77 | + | |
79 | 78 | | |
80 | 79 | | |
81 | 80 | | |
| |||
0 commit comments