make inline codeblocks actually inline
This commit is contained in:
parent
b738c1d0e0
commit
bdf8fc6ce1
1 changed files with 12 additions and 10 deletions
|
|
@ -51,7 +51,8 @@ class const Html(
|
|||
element.text,
|
||||
lang: element.className.replaceAll("language-", ""),
|
||||
)
|
||||
: ClipRRect(
|
||||
: InlineCustomWidget(
|
||||
child: ClipRRect(
|
||||
borderRadius: .all(.circular(4)),
|
||||
child: Container(
|
||||
padding: .all(8),
|
||||
|
|
@ -64,6 +65,7 @@ class const Html(
|
|||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
"blockquote" => Quoted(
|
||||
Html(element.innerHtml, textStyle: textStyle, roomId: roomId),
|
||||
|
|
|
|||
Loading…
Reference in a new issue