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,
|
element.text,
|
||||||
lang: element.className.replaceAll("language-", ""),
|
lang: element.className.replaceAll("language-", ""),
|
||||||
)
|
)
|
||||||
: ClipRRect(
|
: InlineCustomWidget(
|
||||||
|
child: ClipRRect(
|
||||||
borderRadius: .all(.circular(4)),
|
borderRadius: .all(.circular(4)),
|
||||||
child: Container(
|
child: Container(
|
||||||
padding: .all(8),
|
padding: .all(8),
|
||||||
|
|
@ -64,6 +65,7 @@ class const Html(
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
|
|
||||||
"blockquote" => Quoted(
|
"blockquote" => Quoted(
|
||||||
Html(element.innerHtml, textStyle: textStyle, roomId: roomId),
|
Html(element.innerHtml, textStyle: textStyle, roomId: roomId),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue