<commit_before><template>
    <Card class="bezeless dark">
        <div v-if="title" class="header">
            <i :class="icon"></i>
            <h5>{{ title }}</h5>
        </div>

        <div class="content">
            <slot></slot>
        </div>
    </Card>
</template>

<script>
import Card from './Card';

export default {
    name: 'DashboardCard',
    components: { Card },
    props: {
        title: {
            type: String,
            default: '',
        },
        icon: {
            type: String,
            default: '',
        },
    },
};
</script>

<style lang="scss" scoped>
@import 'utils.scss';

.header {
    background-color: lighten($bg-color-2, 4%);
    padding: $xs-space $grid-gutter-part;
    font-size: 0;

    i,
    h5 {
        @extend %align-middle;
    }

    i {
        padding-right: $xs-space;

        &:before {
            font-size: $p-font-size;
        }
    }

    h5 {
        text-transform: uppercase;
    }
}
</style><commit_msg>Add overflow scroll on upcoming games<commit_after><template>
    <Card class="bezeless dark">
        <div v-if="title" class="header">
            <i :class="icon"></i>
            <h5>{{ title }}</h5>
        </div>

        <div class="content">
            <slot></slot>
        </div>
    </Card>
</template>

<script>
import Card from './Card';

export default {
    name: 'DashboardCard',
    components: { Card },
    props: {
        title: {
            type: String,
            default: '',
        },
        icon: {
            type: String,
            default: '',
        },
    },
};
</script>

<style lang="scss" scoped>
@import 'utils.scss';

.header {
    background-color: lighten($bg-color-2, 4%);
    padding: $xs-space $grid-gutter-part;
    font-size: 0;

    i,
    h5 {
        @extend %align-middle;
    }

    i {
        padding-right: $xs-space;

        &:before {
            font-size: $p-font-size;
        }
    }

    h5 {
        text-transform: uppercase;
    }
}

.content {
    max-height: 300px;
    overflow-y: auto;
}
</style>
{'fraction_non_alphanumeric': 0.16836487142163997, 'fraction_numerical': 0.008248423095584668, 'mean_word_length': 1.5614906832298137, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, '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': '7220727', 'n_tokens_mistral': 704, 'n_tokens_neox': 686, 'n_words': 145}