Skip to content

fix(web): Remove excess spacing on #asset-grid and search bar - #7910

Merged
jrasm91 merged 2 commits into
immich-app:mainfrom
natedawg:main
Mar 13, 2024
Merged

jrasm91 merged 2 commits into
immich-app:mainfrom
natedawg:main

Conversation

@natedawg

@natedawg natedawg commented Mar 12, 2024 •

Copy link
Copy Markdown
Contributor

The timeline / asset-grid has a 1rem left-margin that results in the sidebar looking larger than it actually is. Removing the margin makes the sidebar have even spacing and as bonus adds a little more room for photos. With this change photos are no longer offset from the main page titles like Archive and Favorites but those are stickied to the top anyway.

Update: Also removed the left padding on the search bar so it's even with the timline. Pics below do not reflect this change.

Original:
orig

Left margin removed:
fixed

@alextran1502

alextran1502 commented Mar 12, 2024 •

Copy link
Copy Markdown
Member

Can you also move the search bar over :D?

@natedawg

Copy link
Copy Markdown
Contributor Author

Can you also move the search bar over :D?

Sure. It's moved now.

@natedawg natedawg changed the title fix(web): Remove excess left-margin on #asset-grid fix(web): Remove excess spacing on #asset-grid and search bar Mar 12, 2024

@jrasm91 jrasm91 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like a good change!

@jrasm91
jrasm91 merged commit 92804fe into immich-app:main Mar 13, 2024
@waclaw66

Copy link
Copy Markdown
Contributor

I would prefer as it was before, now it's too tight on Photos page, too close to scrollbar...

obrazek
obrazek

@arpanghosh8453

Copy link
Copy Markdown

I would prefer the early look also because otherwise, it looks too compact ( negative space is very important ), and also the layout shift while hovering over dates causes issues with navigation ( For elderly people ).

@alextran1502

Copy link
Copy Markdown
Member

@arpanghosh8453 it has been fixed and will be available in the next release

@arpanghosh8453

arpanghosh8453 commented Mar 22, 2024 •

Copy link
Copy Markdown

Hey there! It's Alex @alextran1502 (Our CEO) again saving my day! Thank you so much! You are so fast to reply dude! It's been 2 minutes since I made this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants