-
Notifications
You must be signed in to change notification settings - Fork 46
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
Conversation
return ( | ||
<Modal> | ||
{modal => ( | ||
<Confirm> | ||
{confirm => ( | ||
<Container> | ||
<StyledPageContent {...props} fill_={fill}> | ||
<StyledPageContent {...props} noPadding={Boolean(noPadding)} fill_={Boolean(fill)}> |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 |
padding: `${props.theme.space.element}px`, | ||
return { | ||
gridTemplateColumns, | ||
display: props.fill_ ? "block" : "grid", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NO!
Summary
This PR updates
Page
to allow truly FULL SIZE options (for Pantheon query editors).To be tested
Me
localhost:6060
Tester 1
Tester 2