<commit_before>// Container widths
// Set the container width, and override it for fixed navbars in media queries.

@if $enable-grid-classes {
    // Single container class with breakpoint max-widths
    .container,
    // Fluid container - 100% wide on all breakpoints
    .container-fluid {
        @include make-container();
    }
}

// Responsive containers
// Containers that are 100% wide until a breakpoint
@if $enable-grid-classes and $enable-grid-responsive-containers {
    @each $breakpoint in $responsive-container-breakpoints {
        $rc-max-width: map-get($container-max-widths, $breakpoint);

        @if $rc-max-width != null {
            .container-#{$breakpoint} {
                @extend .container-fluid;
            }

            @include media-breakpoint-up($breakpoint) {
                %responsive-container-#{$breakpoint} {
                    max-width: $rc-max-width;
                }

                // Extend each breakpoint which should be smaller or
                // equal to the current breakpoint
                $extend-breakpoint: true;

                @each $name, $width in $grid-breakpoints {
                    //@if (rem($rc-max-width) > rem($width) or $breakpoint == $name) {
                    @if ($extend-breakpoint) {
                        $bprule: breakpoint-designator($name);
                        @if ($bprule != "") {
                            .container#{$bprule} {
                                @extend %responsive-container-#{$breakpoint};
                            }
                        }
                    }

                    // Once the current breakpoint is reached, stop extending
                    @if ($breakpoint == $name) {
                        $extend-breakpoint: false;
                    }
                }
            }
        }
    }<commit_msg>Grid: Fix missing responsive base container (#634)<commit_after>// Container widths
// Set the container width, and override it for fixed navbars in media queries.

@if $enable-grid-classes {
    // Single container class with breakpoint max-widths
    .container,
    // Fluid container - 100% wide on all breakpoints
    .container-fluid {
        @include make-container();
    }
}

// Responsive containers
// Containers that are 100% wide until a breakpoint
@if $enable-grid-classes and $enable-grid-responsive-containers {
    @each $breakpoint in $responsive-container-breakpoints {
        $rc-max-width: map-get($container-max-widths, $breakpoint);

        @if $rc-max-width != null {
            .container-#{$breakpoint} {
                @extend .container-fluid;
            }

            @include media-breakpoint-up($breakpoint) {
                %responsive-container-#{$breakpoint} {
                    max-width: $rc-max-width;
                }

                // Extend base container
                .container {
                    @extend %responsive-container-#{$breakpoint};
                }

                // Extend each breakpoint which should be smaller or
                // equal to the current breakpoint
                $extend-breakpoint: true;

                @each $name, $width in $grid-breakpoints {
                    //@if (rem($rc-max-width) > rem($width) or $breakpoint == $name) {
                    @if ($extend-breakpoint) {
                        $bprule: breakpoint-designator($name);
                        @if ($bprule != "") {
                            .container#{$bprule} {
                                @extend %responsive-container-#{$breakpoint};
                            }
                        }
                    }

                    // Once the current breakpoint is reached, stop extending
                    @if ($breakpoint == $name) {
                        $extend-breakpoint: false;
                    }
                }
            }
        }
    }
{'fraction_non_alphanumeric': 0.10785824345146379, 'fraction_numerical': 0.003852080123266564, 'mean_word_length': 1.3435619735258724, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1043015', 'n_tokens_mistral': 1023, 'n_tokens_neox': 923, 'n_words': 242}