<commit_before>.or-appearance-image-map{
    img {
        // avoid image flickering caused by initializing widget upon img load event
        visibility: hidden;
    }
    .option-wrapper {
        // avoid showing regular radiobuttons/checkboxes while image is loading
        display: none;
    }
}
.image-map {
    svg {
        width: 100%;
        height: auto;
        &[or-readonly]{
            opacity: 0.75;
        }
        &:not([or-readonly]) {
            path[id] {
                &:hover {
                    opacity: 0.5;
                }
            }
        }
        path[id] {
            &[or-selected] {
                fill: $brand-primary-color;
            }
        }
    }
    &__ui {
        height: 2em;
        width: 100%;
        text-align: center;
        font-weight: normal;
        &__tooltip{
            display: inline-block;
            background: lighten($brand-primary-color, 50%);
            padding: 2px 8px;
            color: $gray;
            border-radius: 2px;
            &:empty {
                padding: 0;
            }
        }
    }
}
<commit_msg>fixed: svg height issue in Safari in image-map widget<commit_after>.or-appearance-image-map{
    img {
        // avoid image flickering caused by initializing widget upon img load event
        visibility: hidden;
    }
    .option-wrapper {
        // avoid showing regular radiobuttons/checkboxes while image is loading
        display: none;
    }
}
.image-map {
    svg {
        width: 100%;
        height: 100%;
        &[or-readonly]{
            opacity: 0.75;
        }
        &:not([or-readonly]) {
            path[id] {
                &:hover {
                    opacity: 0.5;
                }
            }
        }
        path[id] {
            &[or-selected] {
                fill: $brand-primary-color;
            }
        }
    }
    &__ui {
        height: 2em;
        width: 100%;
        text-align: center;
        font-weight: normal;
        &__tooltip{
            display: inline-block;
            background: lighten($brand-primary-color, 50%);
            padding: 2px 8px;
            color: $gray;
            border-radius: 2px;
            &:empty {
                padding: 0;
            }
        }
    }
}

{'fraction_non_alphanumeric': 0.10881057268722467, 'fraction_numerical': 0.017180616740088105, 'mean_word_length': 1.1384180790960452, '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': '4874168', 'n_tokens_mistral': 691, 'n_tokens_neox': 636, 'n_words': 146}