Skip to content

Conversation

@studioromeo
Copy link

Heya! 👋

There might be raised in a few places but this relates to #458. I noticed that we moved to tailwind recently so I think this was just a small bug from that refactor.

What I've done here is set the flex of the repository item to flex-initial which is equivalent to flex: 0 1 auto; it lets the items shrink but not grow beyond their size. Hopefully this should do the job, it seems to work fine from my limited testing but you may want to give it a razz too!

This is my first contribution here so let me know if you want anything changed, thats no worries 🙂

The repository would stretch to fill the entire app viewport. This is because of the flex-1 class in tailwind allowing the flex item to stretch to fill the remaining space.

Changing to flex-initial prevents the stretch. This could also be removed entirely but I thought it's best to have something set so we're not relying on electron to set some defaults.
@studioromeo studioromeo force-pushed the bug-fix-repository-oversized branch from 0f9806c to dc97d1b Compare December 18, 2020 15:56
@manosim
Copy link
Member

manosim commented Dec 24, 2020

Hey @studioromeo, thank you so much for opening this PR! Gitify went through a major refactor this week (moved from redux to context etc) so this was fixed as part of that (#463). 🎉

@manosim manosim closed this Dec 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants