[Lightbox] Add border radius to avatars (#6136)

* Preserve shape in lightbox

* Rename shapes to semantic meanings

It looks like after all I do want to fork based on those.

* Round avatars on the web

* Oops
This commit is contained in:
dan
2024-11-08 02:52:03 +00:00
committed by GitHub
parent 5d0610d419
commit 22dd4947f7
7 changed files with 108 additions and 61 deletions
+4 -1
View File
@@ -152,7 +152,10 @@ export function PostEmbeds({
thumbDims: MeasuredDimensions | null,
) => {
openLightbox({
images: items,
images: items.map(item => ({
...item,
type: 'image',
})),
index,
thumbDims,
})