File tree Expand file tree Collapse file tree 1 file changed +12
-17
lines changed
crates/agent_ui/src/ui/preview Expand file tree Collapse file tree 1 file changed +12
-17
lines changed Original file line number Diff line number Diff line change @@ -86,23 +86,18 @@ impl RenderOnce for UsageCallout {
86
86
( IconName :: Warning , Severity :: Warning )
87
87
} ;
88
88
89
- div ( )
90
- . border_t_1 ( )
91
- . border_color ( cx. theme ( ) . colors ( ) . border )
92
- . child (
93
- Callout :: new ( )
94
- . icon ( icon)
95
- . severity ( severity)
96
- . icon ( icon)
97
- . title ( title)
98
- . description ( message)
99
- . actions_slot (
100
- Button :: new ( "upgrade" , button_text)
101
- . label_size ( LabelSize :: Small )
102
- . on_click ( move |_, _, cx| {
103
- cx. open_url ( & url) ;
104
- } ) ,
105
- ) ,
89
+ Callout :: new ( )
90
+ . icon ( icon)
91
+ . severity ( severity)
92
+ . icon ( icon)
93
+ . title ( title)
94
+ . description ( message)
95
+ . actions_slot (
96
+ Button :: new ( "upgrade" , button_text)
97
+ . label_size ( LabelSize :: Small )
98
+ . on_click ( move |_, _, cx| {
99
+ cx. open_url ( & url) ;
100
+ } ) ,
106
101
)
107
102
. into_any_element ( )
108
103
}
You can’t perform that action at this time.
0 commit comments