diff --git a/src/components/NavigationBar.tsx b/src/components/NavigationBar.tsx index 731fbc1..e3b44c3 100644 --- a/src/components/NavigationBar.tsx +++ b/src/components/NavigationBar.tsx @@ -6,8 +6,8 @@ import { retrieveContext } from "../global.ts"; import { css, Import } from "../mech/css.ts"; -const { root, itemList, item, selected: selectedItem, ...styles } = css(` - .root { +const style = css(` + :scope { display: flex; flex-wrap: wrap; align-items: center; @@ -42,7 +42,7 @@ const { root, itemList, item, selected: selectedItem, ...styles } = css(` line-height: 1rem; display: block; } -`) as any; +`); interface Props { items: T; @@ -52,14 +52,14 @@ interface Props { export function NavigationBar

({ items, selected }: Props

) { return ( <> - -