Merge pull request #1376 from understrap/fix/full-width-alignment

Fixes some browser issues with full width aligned blocks
This commit is contained in:
Brian Coords 2021-08-23 13:44:41 -07:00 committed by GitHub
commit 1bcb0a7e49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 132 additions and 9 deletions

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

4
css/theme.min.css vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -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 ) {

View File

@ -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();
}
}

View File

@ -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;