fix: padding in compact mode
This commit is contained in:
1 parent
1c456ac499
commit
1d13f4b0be
5 files changed
+18
-9
No files matched your search
@@ -5,6 +5,7 @@
|
||||
|
||||
export let source: string = ''
|
||||
export let inline: boolean = false
|
||||
export let noStyle: boolean = false
|
||||
|
||||
let rendered = ''
|
||||
|
||||
@@ -52,7 +53,10 @@
|
||||
|
||||
<div
|
||||
bind:this={div}
|
||||
class="break-words flex flex-col markdown gap-2 leading-[1.5] {$$props.class}"
|
||||
class="{noStyle
|
||||
? ''
|
||||
: 'break-words flex flex-col markdown gap-2 leading-[1.5]'} {$$props.class}"
|
||||
style={$$props.style}
|
||||
>
|
||||
{@html rendered}
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user