@import "mixins/mixins";
@import "common/var";

@include b(text-tooltip) {
    width: 100%;
    white-space: unset;
    &-txt {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        word-break: break-all;
    }
    &-txt-upfold {
        display: inline;
        text-overflow: initial;
        -webkit-box-orient: unset;
    }
    &-div {
        position: relative;
    }
    &-btn {
        margin-left: 4px;
        font-size: 14px;
        color: $--color-primary;
        cursor: pointer;
        i {
            margin-left: 4px;
        }
    }
}

.el-text-tooltip__tooltip {
    max-width: 256px
}
