diff --git a/components/style/themes/default.less b/components/style/themes/default.less index 134f1015ca..f300e8c58f 100644 --- a/components/style/themes/default.less +++ b/components/style/themes/default.less @@ -784,6 +784,7 @@ @timeline-dot-border-width: 2px; @timeline-dot-color: @primary-color; @timeline-dot-bg: @component-background; +@timeline-item-padding: 0 0 20px; // Typography // --- diff --git a/components/timeline/style/index.less b/components/timeline/style/index.less index bcf74e90fe..84d5c20f50 100644 --- a/components/timeline/style/index.less +++ b/components/timeline/style/index.less @@ -17,7 +17,7 @@ &-item { position: relative; margin: 0; - padding: 0 0 20px; + padding: @timeline-item-padding; font-size: @font-size-base; list-style: none;