<commit_before>// Place all the styles related to the Posts controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/

.post {
    margin: 12px 0;
    padding: 10px;

    .post-info {
        color: #777;
    }

    .post-content {
        float: left;
        margin: 0 15px 0 0;
    }

    .post-title {
        font-weight: bold;
    }

    .post-text {
        min-width: 150px;
        padding: 8px 0;
        overflow: hidden;
        word-wrap: break-word;
        text-overflow: ellipsis;
    }

    .post-content-file-info div {
        float: left;
        margin: 0 8px 0 0;
    }

    .post-original-file-name {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        max-width: 350px; /* Thumbnail size is 350x350 */
    }

    .unexpanded img {
        resize: both;
        width: 100%;
        height: 100%;
        max-width: 350px;
        max-height: 350px;
    }
}

.post:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;<commit_msg>Fix original filename width for small-width layout<commit_after>// Place all the styles related to the Posts controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/

.post {
    margin: 12px 0;
    padding: 10px;

    .post-info {
        color: #777;
    }

    .post-content {
        float: left;
        margin: 0 15px 0 0;
    }

    .post-title {
        font-weight: bold;
    }

    .post-text {
        min-width: 150px;
        padding: 8px 0;
        overflow: hidden;
        word-wrap: break-word;
        text-overflow: ellipsis;
    }

    .post-content-file-info div {
        float: left;
        margin: 0 8px 0 0;
    }

    .post-original-file-name {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        max-width: 285px; /* Small responsive thumbnail size is around 285x285 */
    }

    .unexpanded img {
        resize: both;
        width: 100%;
        height: 100%;
        max-width: 350px;
        max-height: 350px;
    }
}

.post:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
{'fraction_non_alphanumeric': 0.11536787113626469, 'fraction_numerical': 0.03831084022638224, 'mean_word_length': 1.694021101992966, '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': '7042395', 'n_tokens_mistral': 840, 'n_tokens_neox': 735, 'n_words': 210}