parent
fe5e81203f
commit
dfc99de7b8
3 changed files with 43 additions and 49 deletions
|
@ -1085,10 +1085,10 @@ impl Element for MarkdownElement {
|
|||
);
|
||||
el.child(
|
||||
h_flex()
|
||||
.w_5()
|
||||
.w_4()
|
||||
.absolute()
|
||||
.top_1()
|
||||
.right_1()
|
||||
.top_1p5()
|
||||
.right_1p5()
|
||||
.justify_end()
|
||||
.child(codeblock),
|
||||
)
|
||||
|
@ -1115,11 +1115,12 @@ impl Element for MarkdownElement {
|
|||
cx,
|
||||
);
|
||||
el.child(
|
||||
div()
|
||||
h_flex()
|
||||
.w_4()
|
||||
.absolute()
|
||||
.top_0()
|
||||
.right_0()
|
||||
.w_5()
|
||||
.justify_end()
|
||||
.visible_on_hover("code_block")
|
||||
.child(codeblock),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue