mirror of
https://github.com/imgurbot12/rmenu.git
synced 2024-11-13 04:43:46 +01:00
feat: wrap result/actions in result-entry div
This commit is contained in:
parent
34e59131f6
commit
9d71d9ac2a
@ -105,6 +105,8 @@ fn TableEntry<'a>(cx: Scope<'a, GEntry<'a>>) -> Element<'a> {
|
|||||||
})
|
})
|
||||||
});
|
});
|
||||||
cx.render(rsx! {
|
cx.render(rsx! {
|
||||||
|
div {
|
||||||
|
class: "result-entry",
|
||||||
div {
|
div {
|
||||||
id: "result-{cx.props.index}",
|
id: "result-{cx.props.index}",
|
||||||
class: "result {result_classes} {multi_classes}",
|
class: "result {result_classes} {multi_classes}",
|
||||||
@ -133,6 +135,7 @@ fn TableEntry<'a>(cx: Scope<'a, GEntry<'a>>) -> Element<'a> {
|
|||||||
class: "actions {action_classes}",
|
class: "actions {action_classes}",
|
||||||
actions.into_iter()
|
actions.into_iter()
|
||||||
}
|
}
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user