Commit 55ce067 1 parent 857366b commit 55ce067 Copy full SHA for 55ce067
File tree 1 file changed +3
-3
lines changed
web/app/(commonLayout)/agent/center
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -163,11 +163,11 @@ const Apps = () => {
163
163
< img className = "mr-8 h-12 rounded-2xl w-12 "
164
164
src = { app . imageUrl }
165
165
alt = "" />
166
- < div >
166
+ < div className = "flex-1" >
167
167
< h3 className = "font-bold" > { app . name } </ h3 >
168
- < div className = "mt-3 text-sm" > { app . description } </ div >
168
+ < div className = "mt-3 text-sm w-5/5 overflow-hidden line-clamp-3 " > { app . description } </ div >
169
169
< div className = "text-xs text-right" >
170
- < div className = "mt-5 flex justify-end" > 来自: { app . author } </ div >
170
+ { app . author && < div className = "mt-5 flex justify-end" > 来自: { app . author } </ div > }
171
171
< div className = "flex justify-end" >
172
172
上架状态: < span className = { app . agentStatus === 1 ? 'text-primary-700' : 'text-red-700' } > { app . agentStatus === 1 ? '已上架' : '未上架' } </ span >
173
173
</ div >
You can’t perform that action at this time.
0 commit comments