Skip to content
New issue

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

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

Already on GitHub? # to your account

feat: upgrade page components #254

Merged
merged 7 commits into from
Aug 30, 2019
Merged

feat: upgrade page components #254

merged 7 commits into from
Aug 30, 2019

Conversation

alexpaxton
Copy link
Contributor

@alexpaxton alexpaxton commented Aug 29, 2019

Closes #253
Closes #147

Changes

  • Fix styles such that PageHeader and PageContents margins line up vertically
  • Simplify and consolidate styles between PageHeader and PageContents
  • Add markdown documentation for Page components
  • Improve how presentation mode is handled between Page, AppWrapper, and NavMenu (Breaking)

Screenshots

Screen Shot 2019-08-29 at 4 04 07 PM

Checklist

Check all that apply

  • Updated documentation to reflect changes
  • Added entry to top of Changelog with link to PR (not issue)
  • Tests pass
  • Peer reviewed and approved
  • Signed CLA (if not already signed)

@alexpaxton alexpaxton changed the title Feat/upgrade page feat: upgrade page components Aug 29, 2019
@alexpaxton alexpaxton requested a review from a team August 29, 2019 23:20
@ghost ghost requested review from 121watts and removed request for a team August 29, 2019 23:20
.cf-page-header--fluid,
.cf-page-header--fixed,
.cf-page-contents__fluid,
.cf-page-contents__fixed {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Goal was to use consistent naming between page header and page contents

padding: $cf-marg-b;
}
.cf-page-contents__no-scroll {
display: flex;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This small change makes it way easier to have "full height" pages like the DE

alexpaxton and others added 2 commits August 30, 2019 11:10
@alexpaxton alexpaxton merged commit 1d9735b into master Aug 30, 2019
@alexpaxton alexpaxton deleted the feat/upgrade-page branch August 30, 2019 18:13
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Page contents not behaving as expected Add markdown docs for Page components
2 participants