diff --git a/docs/src/components/ComponentApi.svelte b/docs/src/components/ComponentApi.svelte index 1cda3901..05a491d1 100644 --- a/docs/src/components/ComponentApi.svelte +++ b/docs/src/components/ComponentApi.svelte @@ -105,10 +105,7 @@ {:else if type.startsWith("(")} {type} {:else} - + {/if} {/each} @@ -224,4 +221,8 @@ code { word-break: break-word; } + + :global(.cell .bx--snippet--inline code, .bx--snippet--single pre) { + white-space: pre-wrap !important; + }