parent
7e2a20878b
commit
a422082b54
1 changed files with 12 additions and 17 deletions
|
@ -86,10 +86,6 @@ impl RenderOnce for UsageCallout {
|
||||||
(IconName::Warning, Severity::Warning)
|
(IconName::Warning, Severity::Warning)
|
||||||
};
|
};
|
||||||
|
|
||||||
div()
|
|
||||||
.border_t_1()
|
|
||||||
.border_color(cx.theme().colors().border)
|
|
||||||
.child(
|
|
||||||
Callout::new()
|
Callout::new()
|
||||||
.icon(icon)
|
.icon(icon)
|
||||||
.severity(severity)
|
.severity(severity)
|
||||||
|
@ -102,7 +98,6 @@ impl RenderOnce for UsageCallout {
|
||||||
.on_click(move |_, _, cx| {
|
.on_click(move |_, _, cx| {
|
||||||
cx.open_url(&url);
|
cx.open_url(&url);
|
||||||
}),
|
}),
|
||||||
),
|
|
||||||
)
|
)
|
||||||
.into_any_element()
|
.into_any_element()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue