UNPKG

@aplus-frontend/ui

Version:

67 lines (64 loc) 1.44 kB
@import '../../mixins/mixins.less'; @import '../../mixins/config.less'; @tht: ~'@{ns}-ap-table-table-header__title'; .b(ap-column-setting, { &-wrapper { display: flex; flex-direction: row; flex-wrap: nowrap; height: 100%; padding-block-end: 12px; .@{tht} { .reset-component(); // 重置默认两行ellipsis样式 display: inline-block; -webkit-line-clamp: unset; -webkit-box-orient: unset; overflow: unset; text-overflow: unset; word-break: unset; // 设置一行ellipsis的显示效果 white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ap-text-color-2); } } &-left { flex: 1; flex-shrink: 1; min-width: 0; padding-inline: 20px; display: flex; flex-direction: column; &__header { display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: space-between; align-items: center; padding: @spacing; &-tips { color: var(--ap-text-color-3); } } &__content { flex: 1; padding: 12px; overflow-y: auto; // 覆盖全局样式 .ant-checkbox-wrapper { max-width: 100%; display: inline-flex; align-items: center; > span:last-child { flex: 1; min-width: 0; } } } } &-right { width: 240px; } });