Skip to content

armgit / ente

Public Imported from GitHub
0

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

[web] Match File Info header spacing to design

AswinAsok809f518439c3
diff --git a/web/packages/gallery/components/FileInfo.tsx b/web/packages/gallery/components/FileInfo.tsx
index 0aa2e4b00e..fd8d614c2d 100644
--- a/web/packages/gallery/components/FileInfo.tsx
+++ b/web/packages/gallery/components/FileInfo.tsx
@@ -721,8 +721,8 @@ const FileInfoHeader = styled(Stack)(({ theme }) => ({
flexDirection: "row",
alignItems: "center",
gap: 8,
- minHeight: 100,
- paddingTop: 24,
+ minHeight: 92,
+ paddingTop: 18,
[theme.breakpoints.down("sm")]: {
minHeight: 64,
paddingTop: 0,
@@ -920,6 +920,7 @@ const Caption: React.FC<CaptionProps> = ({
<CaptionForm onSubmit={handleSubmit}>
<TextField
id="caption"
+ sx={{ m: { sm: 0 } }}
name="caption"
type="text"
multiline