Skip to content

Commit 20bd31a

Browse files
committed
Fix dropdown list styling, remove dev path in header, update HeroUI
1 parent 8255ff7 commit 20bd31a

4 files changed

Lines changed: 1205 additions & 1743 deletions

File tree

app/(root)/globals.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ p:empty + p:empty {
6868
@apply min-h-[1px];
6969
}
7070

71-
ul {
71+
/* ul {
7272
@apply list-disc pl-3.5;
73-
}
73+
} */
7474

75-
ol {
75+
/* ol {
7676
@apply list-decimal pl-3.5;
77-
}
77+
} */
7878

7979
br {
8080
@apply my-2 block;

components/header/paths.tsx

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,6 @@ export interface Path {
1717
subpaths?: Path[]
1818
}
1919

20-
/**
21-
* En liste over alle lenkene i header som vises kun i development-modus.
22-
*/
23-
const devPaths =
24-
process.env.NODE_ENV === "development"
25-
? [{ name: "Studio", path: "/studio", icon: <FilmIcon width={iconSize} /> }]
26-
: []
27-
2820
/**
2921
* En liste over alle lenkene i header, som alltid vises.
3022
*/
@@ -74,8 +66,6 @@ const paths: Path[] = [
7466
},
7567
]
7668
},
77-
78-
...devPaths,
7969
]
8070

8171
export default paths

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
"dependencies": {
1616
"@heroicons/react": "^2.2.0",
17-
"@heroui/react": "2.7.5",
17+
"@heroui/react": "2.8.5",
1818
"@portabletext/react": "^3.2.1",
1919
"@sanity/asset-utils": "^1.3.2",
2020
"@sanity/client": "^6.8.0",
@@ -60,7 +60,8 @@
6060
],
6161
"onlyBuiltDependencies": [
6262
"@heroui/shared-utils",
63-
"esbuild"
63+
"esbuild",
64+
"unrs-resolver"
6465
]
6566
}
6667
}

0 commit comments

Comments
 (0)