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

Imp: gutenberg cover image alignwide/alignfull compatibility #1608

Merged
1 commit merged into from
Oct 25, 2018

Conversation

eri-trabiccolo
Copy link
Collaborator

CSS part for #1601

@@ -686,7 +686,7 @@ function czr_fn_maybe_write_boxed_layout_inline_css( $_css ) {
//Add some rules from sm up
//add padding
$css_container[] = sprintf( '@media (min-width: %1$spx){ %2$s{ padding-right: %3$spx; padding-left: %3$spx; } }',
$css_container_widths[ 'sm' ],
$css_mq_breakpoints[ 'sm' ],
Copy link

@ghost ghost Oct 25, 2018

Choose a reason for hiding this comment

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

@eri-trabiccolo Was that change related to a bug reported for something else ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

something I noticed, that was wrong

Copy link
Collaborator Author

@eri-trabiccolo eri-trabiccolo Oct 25, 2018

Choose a reason for hiding this comment

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

the previous code generated a media query breakpoint too small, as the container width is smaller than the mq_breakpoint value.

Copy link

Choose a reason for hiding this comment

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

ok ! thx

@ghost ghost merged commit f94eb2b into presscustomizr:dev Oct 25, 2018
This pull request was closed.
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.

1 participant