Skip to content

Commit 1562e00

Browse files
authored
fix: add frequently missing classes to unocss safelist (#1969)
1 parent b2b7347 commit 1562e00

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/client/uno.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ export default defineConfig({
1313
safelist: [
1414
'!opacity-0',
1515
'prose',
16+
// See https://github.com/slidevjs/slidev/issues/1705
17+
'grid-rows-[1fr_max-content]',
18+
'grid-cols-[1fr_max-content]',
1619
],
1720
shortcuts: {
1821
'bg-main': 'bg-white dark:bg-[#121212]',

0 commit comments

Comments
 (0)