<commit_before>
/*** FORMS ***/

/* Form */
.form {
    @simple-extend-addto material-box;
    margin: 15px 0;
    background-color: #fff;
    p {
        position: relative;
        margin: 0 0 30px;
        &.buttons:last-child {
            margin: -10px 0 0;
        }
        &.image-preview {
            height: 164px;
            margin-top: -30px;
            margin-bottom: 20px;
            background: #F7F7F7 url(../img/img-icon.svg) center no-repeat;
            background-size: 50% 50%;
            border: 1px dashed $color-secondary-2;
            border-top: none;
            label {
                left: 0;
                width: 100%;
                height: 100%;
                cursor: pointer;
                img {
                    display: block;
                    height: 100%;
                    max-width: 100%;
                    margin-left: auto;
                    margin-right: auto;
                    border: 10px solid #F7F7F7;
                    box-sizing: border-box;
                }
            }
        }<commit_msg>fix image ratio not being preserved for too wide images in preview<commit_after>
/*** FORMS ***/

/* Form */
.form {
    @simple-extend-addto material-box;
    margin: 15px 0;
    background-color: #fff;
    p {
        position: relative;
        margin: 0 0 30px;
        &.buttons:last-child {
            margin: -10px 0 0;
        }
        &.image-preview {
            height: 164px;
            margin-top: -30px;
            margin-bottom: 20px;
            background: #F7F7F7 url(../img/img-icon.svg) center no-repeat;
            background-size: 50% 50%;
            border: 1px dashed $color-secondary-2;
            border-top: none;
            label {
                left: 0;
                width: 100%;
                height: 100%;
                cursor: pointer;
                img {
                    display: block;
                    max-height: 100%;
                    max-width: 100%;
                    margin-left: auto;
                    margin-right: auto;
                    border: 10px solid #F7F7F7;
                    box-sizing: border-box;
                }
            }
        }
{'fraction_non_alphanumeric': 0.10657596371882086, 'fraction_numerical': 0.04081632653061224, 'mean_word_length': 1.029438822447102, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4065410', 'n_tokens_mistral': 696, 'n_tokens_neox': 596, 'n_words': 151}