Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Improve five-friend home layout

Anand Baburajan2b820847b4bb
diff --git a/web/apps/space/src/utils/home-circle-layout.ts b/web/apps/space/src/utils/home-circle-layout.ts
index 071892643e..0633397b54 100644
--- a/web/apps/space/src/utils/home-circle-layout.ts
+++ b/web/apps/space/src/utils/home-circle-layout.ts
@@ -50,7 +50,7 @@ const circleSlotsForCount = (count: number) => {
const columns = 2;
const rows = Math.ceil(count / columns);
- const singleCircleRow = count % columns ? (count == 5 ? 1 : rows - 1) : -1;
+ const singleCircleRow = count % columns ? rows - 1 : -1;
const slots: CircleSlot[] = [];
for (let row = 0; row < rows; row++) {
if (row == singleCircleRow) {