diff --git a/components/anchor/style/index.less b/components/anchor/style/index.less index 1795016446..92d0042b20 100644 --- a/components/anchor/style/index.less +++ b/components/anchor/style/index.less @@ -56,12 +56,11 @@ &-link { padding: @anchor-link-padding; - line-height: 1.143; &-title { position: relative; display: block; - margin-bottom: 6px; + margin-bottom: 3px; overflow: hidden; color: @text-color; white-space: nowrap; @@ -79,8 +78,8 @@ } &-link &-link { - padding-top: 5px; - padding-bottom: 5px; + padding-top: 2px; + padding-bottom: 2px; } } diff --git a/components/style/themes/default.less b/components/style/themes/default.less index dbeff1adc6..5aca1cb697 100644 --- a/components/style/themes/default.less +++ b/components/style/themes/default.less @@ -509,7 +509,7 @@ // --- @anchor-bg: transparent; @anchor-border-color: @border-color-split; -@anchor-link-top: 7px; +@anchor-link-top: 4px; @anchor-link-left: 16px; @anchor-link-padding: @anchor-link-top 0 @anchor-link-top @anchor-link-left; diff --git a/components/style/themes/variable.less b/components/style/themes/variable.less index 66608cb801..4082dd525b 100644 --- a/components/style/themes/variable.less +++ b/components/style/themes/variable.less @@ -564,7 +564,7 @@ // --- @anchor-bg: transparent; @anchor-border-color: @border-color-split; -@anchor-link-top: 7px; +@anchor-link-top: 4px; @anchor-link-left: 16px; @anchor-link-padding: @anchor-link-top 0 @anchor-link-top @anchor-link-left;