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

Fix layout on summary pages #2482

Merged
merged 1 commit into from
Jun 21, 2018
Merged

Fix layout on summary pages #2482

merged 1 commit into from
Jun 21, 2018

Conversation

KlapTrap
Copy link
Contributor

@KlapTrap KlapTrap commented Jun 21, 2018

On screens with smaller height, the cf summary pages collapses and cards overlap.

@cfdreddbot
Copy link

Hey KlapTrap!

Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you and the commit authors have already signed the CLA.

@KlapTrap KlapTrap self-assigned this Jun 21, 2018
@codecov
Copy link

codecov bot commented Jun 21, 2018

Codecov Report

Merging #2482 into v2-master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           v2-master    #2482   +/-   ##
==========================================
  Coverage      70.74%   70.74%           
==========================================
  Files            589      589           
  Lines          24802    24802           
  Branches        5595     5595           
==========================================
  Hits           17546    17546           
  Misses          7256     7256

@@ -1,5 +1,5 @@
.summary {
display: flex;
height: 100%;
min-height: 100%;
Copy link
Contributor

Choose a reason for hiding this comment

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

With the current layout - the last card - the recent apps is supposed to size to the remaining space - with this change, this is no longer the case.

Copy link
Contributor Author

@KlapTrap KlapTrap Jun 21, 2018

Choose a reason for hiding this comment

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

What are we trying to achieve by having the recent apps shrink to fit the remaining size rather than being it's natural height?

Copy link
Contributor

Choose a reason for hiding this comment

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

The intent was that the remaining space would be used for the apps list - so the more height there was, the more of the list that would be visible, rather than fixing some arbitrary height.

See: #2483 for a fix which I think keeps this behaviour but avoid the overlap issue.

@nwmac nwmac merged commit f6d58dc into v2-master Jun 21, 2018
@nwmac nwmac deleted the summary-layout-fix branch June 21, 2018 10:24
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.

3 participants