compact.js 526 B

12345678910111213141516171819202122232425
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = void 0;
  6. const genSpaceCompactStyle = token => {
  7. const {
  8. componentCls
  9. } = token;
  10. return {
  11. [componentCls]: {
  12. display: 'inline-flex',
  13. '&-block': {
  14. display: 'flex',
  15. width: '100%'
  16. },
  17. '&-vertical': {
  18. flexDirection: 'column'
  19. }
  20. }
  21. };
  22. };
  23. // ============================== Export ==============================
  24. var _default = exports.default = genSpaceCompactStyle;