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({
204204 }
205205 >
206206 < 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" >
217215 < BookmarkButton
218216 bookmark = { content . bookmark ?? null }
219217 contentId = { content . id }
220218 />
221- ) }
222- </ div >
219+ </ div >
220+ ) }
223221 </ div >
224222 </ Link >
225223 ) ;
You can’t perform that action at this time.
0 commit comments