mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-08 01:53:34 +08:00
style: fix rtl.less missing variable (#25088)
This commit is contained in:
parent
d78faf5d35
commit
7450c3fd8d
@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
&-link {
|
&-link {
|
||||||
.@{ant-prefix}-anchor-rtl & {
|
.@{ant-prefix}-anchor-rtl & {
|
||||||
padding: 7px 16px 7px 0;
|
padding: @anchor-link-top @anchor-link-left @anchor-link-top 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
&-item {
|
&-item {
|
||||||
.@{checkbox-prefix-cls}-group-rtl & {
|
.@{checkbox-prefix-cls}-group-rtl & {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
margin-left: 8px;
|
margin-left: @checkbox-group-item-margin-right;
|
||||||
}
|
}
|
||||||
&:last-child {
|
&:last-child {
|
||||||
.@{checkbox-prefix-cls}-group-rtl & {
|
.@{checkbox-prefix-cls}-group-rtl & {
|
||||||
@ -19,7 +19,7 @@
|
|||||||
}
|
}
|
||||||
&-item + &-item {
|
&-item + &-item {
|
||||||
.@{checkbox-prefix-cls}-group-rtl & {
|
.@{checkbox-prefix-cls}-group-rtl & {
|
||||||
margin-left: 8px;
|
margin-left: @checkbox-group-item-margin-right;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
.@{radio-prefix-cls}-wrapper {
|
.@{radio-prefix-cls}-wrapper {
|
||||||
&&-rtl {
|
&&-rtl {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
margin-left: 8px;
|
margin-left: @radio-wrapper-margin-right;
|
||||||
direction: rtl;
|
direction: rtl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -281,7 +281,9 @@
|
|||||||
|
|
||||||
// Anchor
|
// 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
|
// Tabs
|
||||||
// ---
|
// ---
|
||||||
|
@ -449,7 +449,9 @@
|
|||||||
// ---
|
// ---
|
||||||
@anchor-bg: @component-background;
|
@anchor-bg: @component-background;
|
||||||
@anchor-border-color: @border-color-split;
|
@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
|
// Tooltip
|
||||||
// ---
|
// ---
|
||||||
|
@ -127,7 +127,7 @@
|
|||||||
&-extra {
|
&-extra {
|
||||||
.@{table-wrapepr-rtl-cls} & {
|
.@{table-wrapepr-rtl-cls} & {
|
||||||
right: auto;
|
right: auto;
|
||||||
left: -10px;
|
left: @table-selection-extra-right;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user