File tree 1 file changed +6
-8
lines changed
components/dashboard/src/projects 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -158,16 +158,14 @@ export default function () {
158
158
</ div >
159
159
< div className = "h-10 px-4 border rounded-b-xl dark:border-gray-800 bg-gray-100 border-gray-100 dark:bg-gray-800" >
160
160
{ lastPrebuilds . get ( p . id )
161
- ? ( < div className = "flex flex-row h-full text-sm justify-between " >
162
- < Link to = { `/${ teamOrUserSlug } /${ p . name } /${ lastPrebuilds . get ( p . id ) ?. info ?. id } ` } className = "flex my-auto items-center group space-x-2" >
161
+ ? ( < div className = "flex flex-row h-full text-sm space-x-4 " >
162
+ < Link to = { `/${ teamOrUserSlug } /${ p . name } /${ lastPrebuilds . get ( p . id ) ?. info ?. id } ` } className = "flex-grow flex items-center group space-x-2 truncate " >
163
163
{ prebuildStatusIcon ( lastPrebuilds . get ( p . id ) ) }
164
- < div className = "font-semibold text-gray-500 dark:text-gray-400 truncate w-24" title = { lastPrebuilds . get ( p . id ) ?. info ?. branch } > { lastPrebuilds . get ( p . id ) ?. info ?. branch } </ div >
165
- < span className = "mx-1 text-gray-400 dark:text-gray-600" > ·</ span >
166
- < div className = "text-gray-400 dark:text-gray-500 flex-grow hover:text-gray-800 dark:hover:text-gray-300" > { moment ( lastPrebuilds . get ( p . id ) ?. info ?. startedAt ) . fromNow ( ) } </ div >
167
- </ Link >
168
- < Link to = { `/${ teamOrUserSlug } /${ p . name } /prebuilds` } className = "my-auto group" >
169
- < div className = "flex my-auto text-gray-400 flex-grow text-right group-hover:text-gray-600 dark:hover:text-gray-300" > View All →</ div >
164
+ < div className = "font-semibold text-gray-500 dark:text-gray-400 truncate" title = { lastPrebuilds . get ( p . id ) ?. info ?. branch } > { lastPrebuilds . get ( p . id ) ?. info ?. branch } </ div >
165
+ < span className = "flex-shrink-0 mx-1 text-gray-400 dark:text-gray-600" > ·</ span >
166
+ < div className = "flex-shrink-0 text-gray-400 dark:text-gray-500 group-hover:text-gray-800 dark:group-hover:text-gray-300" > { moment ( lastPrebuilds . get ( p . id ) ?. info ?. startedAt ) . fromNow ( ) } </ div >
170
167
</ Link >
168
+ < Link to = { `/${ teamOrUserSlug } /${ p . name } /prebuilds` } className = "flex-shrink-0 flex items-center text-gray-400 hover:text-gray-600 dark:hover:text-gray-300" > View All →</ Link >
171
169
</ div > )
172
170
: ( < div className = "flex h-full text-md" >
173
171
< p className = "my-auto " > No recent prebuilds</ p >
You can’t perform that action at this time.
0 commit comments