mixin.less 236 B

12345678910111213
  1. // 显示省略号
  2. .no-wrap() {
  3. text-overflow: ellipsis;
  4. overflow: hidden;
  5. white-space: nowrap;
  6. }
  7. .flex-center(@direction: row) {
  8. display: flex;
  9. flex-direction: @direction;
  10. justify-content: center;
  11. align-items: center;
  12. }