Merge pull request #1376 from understrap/fix/full-width-alignment
Fixes some browser issues with full width aligned blocks
This commit is contained in:
commit
1bcb0a7e49
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -40,7 +40,7 @@ if ( ! function_exists( 'understrap_generate_color_palette' ) ) {
|
|||
$color_palette = array();
|
||||
|
||||
// Grabs the autogenerated color palette that we're pulling from our compiled bootstrap stylesheets.
|
||||
$color_palette_json = wp_remote_get( get_stylesheet_directory_uri() . '/inc/editor-color-palette.json' );
|
||||
$color_palette_json = wp_remote_get( get_template_directory_uri() . '/inc/editor-color-palette.json' );
|
||||
if ( ! is_wp_error( $color_palette_json ) ) {
|
||||
$color_palette_json = json_decode( $color_palette_json['body'], true );
|
||||
foreach ( $color_palette_json as $key => $value ) {
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@ body.understrap-no-sidebar{
|
|||
|
||||
.wp-block-cover__inner-container {
|
||||
@include make-container();
|
||||
@include make-container-max-widths();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -60,6 +61,7 @@ body.understrap-no-sidebar{
|
|||
|
||||
.wp-block-cover__inner-container {
|
||||
@include make-container();
|
||||
@include make-container-max-widths();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,8 @@
|
|||
body {
|
||||
overflow-x: hidden; // Fix for Windows Chrome horizontal scrollbar.
|
||||
}
|
||||
|
||||
|
||||
// Some basic padding for all wrappers
|
||||
.wrapper {
|
||||
padding: $grid-gutter-width 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue