Browse Source

style: anchor text is overwritten (#35612)

Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com>
pull/35616/head
joson 3 years ago
committed by GitHub
parent
commit
c52f19ac46
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      components/anchor/style/index.less
  2. 2
      components/style/themes/default.less
  3. 2
      components/style/themes/variable.less

7
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;
}
}

2
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;

2
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;

Loading…
Cancel
Save