Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polish #1568

Merged
merged 2 commits into from Sep 12, 2019
Merged

Polish #1568

merged 2 commits into from Sep 12, 2019

Conversation

ptbrowne
Copy link
Contributor

@ptbrowne ptbrowne commented Sep 12, 2019

  • The header had no base height since Content was not in display flex

Otherwise on mobile, when the History chart is not displayed because of
Delayed, the Header had not height. It made the content below jump when
the History got displayed.

I put important! since it should be cozy-ui doing this.

  • Diminish the number of spinner by using fetch policies and hasBeenLoaded

Otherwise on mobile, when the History chart is not displayed because of
Delayed, the Header had not height. It made the content below jump when
the History got displayed.
@todo
Copy link

todo bot commented Sep 12, 2019

should not be necessary, the Main component in cozy-ui should

// TODO should not be necessary, the Main component in cozy-ui should
// already have that
// See https://github.com/cozy/cozy-ui/issues/1156
display flex !important


This comment was generated by todo based on a TODO comment in bf9c215 in #1568. cc @cozy.

@ptbrowne ptbrowne changed the title fix: Display flex on Content so that the header has a base height Polish Sep 12, 2019
Not to show many spinners all the time
Copy link
Contributor

@drazik drazik left a comment

Choose a reason for hiding this comment

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

🎉 🎉 🎉

@ptbrowne ptbrowne merged commit 1e51036 into master Sep 12, 2019
@delete-merged-branch delete-merged-branch bot deleted the fix-jumping-content branch September 12, 2019 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants