Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix(photos):remove-unused-gallery-bar-exports

Aswin Asoka15986b88707
diff --git a/web/packages/new/photos/components/Tiles.tsx b/web/packages/new/photos/components/Tiles.tsx
index 5d4cba227a..c211a8b4a6 100644
--- a/web/packages/new/photos/components/Tiles.tsx
+++ b/web/packages/new/photos/components/Tiles.tsx
@@ -90,12 +90,6 @@ export const PreviewItemTile = styled(BaseTile)`
height: 48px;
`;
-export const BarItemTile = styled(BaseTile)`
- width: 90px;
- height: 64px;
- color: white;
-`;
-
export const DuplicateItemTile = styled(BaseTile)`
cursor: initial;
`;
@@ -121,15 +115,6 @@ export const LargeTileButton = styled(BaseTileButton)`
height: 150px;
`;
-export const TileTextOverlay = styled(Overlay)`
- padding: 4px;
- background: linear-gradient(
- 0deg,
- rgba(0, 0, 0, 0.1) 0%,
- rgba(0, 0, 0, 0.5) 86.46%
- );
-`;
-
export const LargeTileTextOverlay = styled(Overlay)`
padding: 8px;
color: white;
diff --git a/web/packages/new/photos/components/utils/thumbnail-grid-layout.ts b/web/packages/new/photos/components/utils/thumbnail-grid-layout.ts
index e6722f97a6..9008cedde5 100644
--- a/web/packages/new/photos/components/utils/thumbnail-grid-layout.ts
+++ b/web/packages/new/photos/components/utils/thumbnail-grid-layout.ts
@@ -1,7 +1,7 @@
export const thumbnailGap = 4;
const thumbnailMaxHeight = 180;
-export const thumbnailMaxWidth = 180;
-export const thumbnailLayoutMinColumns = 4;
+const thumbnailMaxWidth = 180;
+const thumbnailLayoutMinColumns = 4;
export interface ThumbnailGridLayoutParams {
containerWidth: number;