Skip to content

Commit 2e9d839

Browse files
authored
Resolve CSS parse error (#15)
1 parent c5f32ee commit 2e9d839

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/client/components/CodeSwitcher.ts

+1
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ export const CodeSwitcher = defineComponent({
122122
{
123123
class: 'tab-content',
124124
key: shorthand,
125+
style: { display: $slots[shorthand] ? 'block' : 'none' },
125126
},
126127
($slots[shorthand] || slotNotFound)({ shorthand })
127128
),

0 commit comments

Comments
 (0)