File tree Expand file tree Collapse file tree 1 file changed +15
-12
lines changed
src/frontend/src/coral/components Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -51,19 +51,22 @@ const PromptCard: React.FC<PromptCardProps> = ({
5151 } }
5252 >
5353 < div style = { { display : "flex" , flexDirection : "column" , gap : "12px" } } >
54- { icon && (
55- < div
56- style = { {
57- fontSize : "20px" ,
58- color : "var(--colorBrandForeground1)" ,
59- marginTop : "2px" ,
60- } }
61- >
62- { icon }
63- </ div >
64- ) }
6554 < div style = { { display : "flex" , flexDirection : "column" , gap : "4px" } } >
66- < Body1Strong > { title } </ Body1Strong >
55+ < div style = { { display : "flex" , alignItems : "center" , gap : "8px" } } >
56+ { icon && (
57+ < div
58+ style = { {
59+ fontSize : "20px" ,
60+ color : "var(--colorBrandForeground1)" ,
61+ display : "flex" ,
62+ alignItems : "center" ,
63+ } }
64+ >
65+ { icon }
66+ </ div >
67+ ) }
68+ < Body1Strong > { title } </ Body1Strong >
69+ </ div >
6770 < Body1 style = { { color : "var(--colorNeutralForeground3)" } } >
6871 { description }
6972 </ Body1 >
You can’t perform that action at this time.
0 commit comments