@import "../../../../css/static/mixin";

.htmlTag {
    display: flex;
    flex-direction: column;
    justify-content: stretch;

    flex-shrink: 1;
    min-height: 2em;
}

.logContainer {
    background: var(--server-log-background);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    flex-shrink: 1;
    flex-grow: 1;

    min-height: 1em;
    width: 100%;

    border-radius: 5px 5px 0 0;

    padding-right: 5px;
    padding-left: 5px;

    overflow-x: hidden;
    overflow-y: auto;

    @include chat-scrollbar-vertical();
}

.logEntry {
    flex-shrink: 0;
    flex-grow: 0;

    color: var(--server-log-text);

    overflow-x: hidden;
    overflow-y: hidden;

    display: block;

    > *, .errorMessage > * {
        display: inline-block;

        overflow-wrap: break-word;
        word-wrap: break-word;

        max-width: 100%;
    }

    .timestamp {
        padding-right: 5px;
        vertical-align: top;
    }

    .errorMessage {
        color: var(--server-log-error);
    }
}