style: fix rtl.less missing variable (#25088)

This commit is contained in:
xrkffgg 2020-06-19 10:13:19 +08:00 committed by GitHub
parent d78faf5d35
commit 7450c3fd8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 11 additions and 7 deletions

View File

@ -34,7 +34,7 @@
&-link {
.@{ant-prefix}-anchor-rtl & {
padding: 7px 16px 7px 0;
padding: @anchor-link-top @anchor-link-left @anchor-link-top 0;
}
}
}

View File

@ -9,7 +9,7 @@
&-item {
.@{checkbox-prefix-cls}-group-rtl & {
margin-right: 0;
margin-left: 8px;
margin-left: @checkbox-group-item-margin-right;
}
&:last-child {
.@{checkbox-prefix-cls}-group-rtl & {
@ -19,7 +19,7 @@
}
&-item + &-item {
.@{checkbox-prefix-cls}-group-rtl & {
margin-left: 8px;
margin-left: @checkbox-group-item-margin-right;
}
}
}

View File

@ -15,7 +15,7 @@
.@{radio-prefix-cls}-wrapper {
&&-rtl {
margin-right: 0;
margin-left: 8px;
margin-left: @radio-wrapper-margin-right;
direction: rtl;
}
}

View File

@ -281,7 +281,9 @@
// Anchor
// ---
@anchor-link-padding: 4px 0 4px 16px;
@anchor-link-top: 4px;
@anchor-link-left: 16px;
@anchor-link-padding: @anchor-link-top 0 @anchor-link-top @anchor-link-left;
// Tabs
// ---

View File

@ -449,7 +449,9 @@
// ---
@anchor-bg: @component-background;
@anchor-border-color: @border-color-split;
@anchor-link-padding: 7px 0 7px 16px;
@anchor-link-top: 7px;
@anchor-link-left: 16px;
@anchor-link-padding: @anchor-link-top 0 @anchor-link-top @anchor-link-left;
// Tooltip
// ---

View File

@ -127,7 +127,7 @@
&-extra {
.@{table-wrapepr-rtl-cls} & {
right: auto;
left: -10px;
left: @table-selection-extra-right;
}
}
}