<commit_before><div class="image-grid">
    <div *ngFor="let row of rows; let index = index">

        <div *ngFor="let cell of row; let cell_index = index"
             class="cell-container"
             [style.width.px]="cell['calculatedWidth'] + 1"
             [style.height.px]="cell['calculatedHeight'] + 1 + 25">

            <div *ngIf="cell['document'].id == 'droparea'"
                 class="droparea-container"
                 [style.width.px]="cell['calculatedWidth']"
                 [style.height.px]="cell['calculatedHeight']">
                <drop-area [depictsRelationTarget]="dropAreaDepictsRelationTarget"
                           (onImagesUploaded)="onImagesUploaded.emit($event)">
                </drop-area>
            </div>

            <div *ngIf="cell['document'].id != 'droparea'"
                 (click)="onClick.emit(cell['document'])"
                 (dblclick)="onDoubleClick.emit(cell['document'])"
                 (mouseenter)="onCellMouseEnter(cell['document'])"
                 [id]="'resource-' + cell['document'].resource.identifier"
                 class="cell"
                 [class.selected]="selected.includes(cell['document'])">
                
                <image-grid-cell
                        [cell]="cell"
                        [nrOfColumns]="nrOfColumns"
                        [resourceIdentifiers]="resourceIdentifiers"
                        [showLinkBadges]="showLinkBadges"
                        [showIdentifier]="showIdentifier"
                        [showShortDescription]="showShortDescription"
                        [showGeoIcon]="showGeoIcon">
                </image-grid-cell>
            </div>
            <div style="background-color: silver">
            </div>
        </div>
    </div>

    <div *ngIf="moreRowsMsg">
        <br><commit_msg>remove gap below drop area<commit_after><div class="image-grid">
    <div *ngFor="let row of rows; let index = index">

        <div *ngFor="let cell of row; let cell_index = index"
             class="cell-container"
             [style.width.px]="cell['calculatedWidth'] + 1"
             [style.height.px]="cell['calculatedHeight'] + 1 + 25">

            <div *ngIf="cell['document'].id == 'droparea'"
                 class="droparea-container"
                 [style.width.px]="cell['calculatedWidth']"
                 [style.height.px]="cell['calculatedHeight'] + 25">
                <drop-area [depictsRelationTarget]="dropAreaDepictsRelationTarget"
                           (onImagesUploaded)="onImagesUploaded.emit($event)">
                </drop-area>
            </div>

            <div *ngIf="cell['document'].id != 'droparea'"
                 (click)="onClick.emit(cell['document'])"
                 (dblclick)="onDoubleClick.emit(cell['document'])"
                 (mouseenter)="onCellMouseEnter(cell['document'])"
                 [id]="'resource-' + cell['document'].resource.identifier"
                 class="cell"
                 [class.selected]="selected.includes(cell['document'])">
                
                <image-grid-cell
                        [cell]="cell"
                        [nrOfColumns]="nrOfColumns"
                        [resourceIdentifiers]="resourceIdentifiers"
                        [showLinkBadges]="showLinkBadges"
                        [showIdentifier]="showIdentifier"
                        [showShortDescription]="showShortDescription"
                        [showGeoIcon]="showGeoIcon">
                </image-grid-cell>
            </div>
            <div style="background-color: silver">
            </div>
        </div>
    </div>

    <div *ngIf="moreRowsMsg">
        <br>
{'fraction_non_alphanumeric': 0.14683612763656032, 'fraction_numerical': 0.0027041644131963224, 'mean_word_length': 1.6823785351704132, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, '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': '1997462', 'n_tokens_mistral': 1010, 'n_tokens_neox': 959, 'n_words': 132}