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

**Feature:** Full Size Pages #894

Merged
merged 2 commits into from
Jan 18, 2019
Merged

**Feature:** Full Size Pages #894

merged 2 commits into from
Jan 18, 2019

Conversation

TejasQ
Copy link
Contributor

@TejasQ TejasQ commented Jan 18, 2019

Summary

This PR updates Page to allow truly FULL SIZE options (for Pantheon query editors).

To be tested

Me

  • No error or warning in the console on localhost:6060

Tester 1

  • Things look good on the demo.

Tester 2

  • Things look good on the demo.

return (
<Modal>
{modal => (
<Confirm>
{confirm => (
<Container>
<StyledPageContent {...props} fill_={fill}>
<StyledPageContent {...props} noPadding={Boolean(noPadding)} fill_={Boolean(fill)}>
Copy link
Contributor

Choose a reason for hiding this comment

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

Something disturbing me about noPadding, but I can't clearly understand what.

When I think about positioning and abstractions around it I remember this talk https://www.deconstructconf.com/2017/kevin-lynagh-choosing-features.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@stereobooster I'm following the convention introduced by @fabien0102 in #890.

noPadding?: boolean

@TejasQ TejasQ merged commit 3d42cca into master Jan 18, 2019
@TejasQ TejasQ deleted the fix/page branch January 18, 2019 13:19
padding: `${props.theme.space.element}px`,
return {
gridTemplateColumns,
display: props.fill_ ? "block" : "grid",
Copy link
Contributor

Choose a reason for hiding this comment

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

NO!

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.

3 participants