horizontal.js 445 B

1234567891011121314151617181920
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = void 0;
  6. const genHorizontalStyle = token => {
  7. const {
  8. componentCls
  9. } = token;
  10. const stepsItemCls = `${componentCls}-item`; // .ant-steps-item
  11. return {
  12. [`${componentCls}-horizontal`]: {
  13. [`${stepsItemCls}-tail`]: {
  14. transform: 'translateY(-50%)'
  15. }
  16. }
  17. };
  18. };
  19. var _default = exports.default = genHorizontalStyle;