File tree Expand file tree Collapse file tree 1 file changed +39
-37
lines changed Expand file tree Collapse file tree 1 file changed +39
-37
lines changed Original file line number Diff line number Diff line change @@ -199,10 +199,8 @@ export default recipe<CharmsListInput, CharmsListOutput>(
199199 onct-keybind = { toggle ( { value : fabExpanded } ) }
200200 />
201201
202- < ct-vstack gap = "4" padding = "6" >
203- { /* Quick Launch Toolbar */ }
204- < ct-hstack gap = "2" align = "center" >
205- < h3 > Quicklaunch:</ h3 >
202+ < ct-toolbar slot = "header" >
203+ < div slot = "start" >
206204 < ct-button
207205 onClick = { spawnChatList ( ) }
208206 >
@@ -223,43 +221,47 @@ export default recipe<CharmsListInput, CharmsListOutput>(
223221 >
224222 📄 Note
225223 </ ct-button >
226- </ ct-hstack >
224+ </ div >
225+ </ ct-toolbar >
227226
228- < h2 > Charms ({ allCharms . length } )</ h2 >
227+ < ct-vscroll flex showScrollbar >
228+ < ct-vstack gap = "4" padding = "6" >
229+ < h2 > Charms ({ allCharms . length } )</ h2 >
229230
230- < ct-table full-width hover >
231- < thead >
232- < tr >
233- < th > Charm Name</ th >
234- < th > Actions</ th >
235- </ tr >
236- </ thead >
237- < tbody >
238- { allCharms . map ( ( charm ) => (
231+ < ct-table full-width hover >
232+ < thead >
239233 < tr >
240- < td > { charm ?. [ NAME ] || "Untitled Charm" } </ td >
241- < td >
242- < ct-hstack gap = "2" >
243- < ct-button
244- size = "sm"
245- onClick = { visit ( { charm } ) }
246- >
247- Visit
248- </ ct-button >
249- < ct-button
250- size = "sm"
251- variant = "destructive"
252- onClick = { removeCharm ( { charm, allCharms } ) }
253- >
254- Remove
255- </ ct-button >
256- </ ct-hstack >
257- </ td >
234+ < th > Charm Name</ th >
235+ < th > Actions</ th >
258236 </ tr >
259- ) ) }
260- </ tbody >
261- </ ct-table >
262- </ ct-vstack >
237+ </ thead >
238+ < tbody >
239+ { allCharms . map ( ( charm ) => (
240+ < tr >
241+ < td > { charm ?. [ NAME ] || "Untitled Charm" } </ td >
242+ < td >
243+ < ct-hstack gap = "2" >
244+ < ct-button
245+ size = "sm"
246+ onClick = { visit ( { charm } ) }
247+ >
248+ Visit
249+ </ ct-button >
250+ < ct-button
251+ size = "sm"
252+ variant = "destructive"
253+ onClick = { removeCharm ( { charm, allCharms } ) }
254+ >
255+ Remove
256+ </ ct-button >
257+ </ ct-hstack >
258+ </ td >
259+ </ tr >
260+ ) ) }
261+ </ tbody >
262+ </ ct-table >
263+ </ ct-vstack >
264+ </ ct-vscroll >
263265 </ ct-screen >
264266 ) ,
265267 sidebarUI : (
You can’t perform that action at this time.
0 commit comments