File tree Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -204,22 +204,20 @@ export function Sidebar({
204
204
}
205
205
>
206
206
< div className = "flex w-full items-center justify-between gap-2" >
207
- < div className = "flex items-center gap-2" >
208
- < div className = "flex gap-2" >
209
- { content . type === 'video' && < Check content = { content } /> }
210
- { content . type === 'video' && < Play className = "size-4" /> }
211
- { content . type === 'notion' && < File className = "size-4" /> }
212
- </ div >
213
- < div >
214
- { content . title }
215
- </ div >
216
- { content . type === 'video' && (
207
+ < div className = "flex gap-2" >
208
+ { content . type === 'video' && < Check content = { content } /> }
209
+ { content . type === 'video' && < Play className = "size-4" /> }
210
+ { content . type === 'notion' && < File className = "size-4" /> }
211
+ </ div >
212
+ < div className = "grow" > { content . title } </ div >
213
+ { content . type === 'video' && (
214
+ < div className = "flex-none" >
217
215
< BookmarkButton
218
216
bookmark = { content . bookmark ?? null }
219
217
contentId = { content . id }
220
218
/>
221
- ) }
222
- </ div >
219
+ </ div >
220
+ ) }
223
221
</ div >
224
222
</ Link >
225
223
) ;
You can’t perform that action at this time.
0 commit comments