mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 13:47:02 +08:00
e097830a23
* style: Alert rtl * update * icon space * update * update * fix
40 lines
675 B
Plaintext
40 lines
675 B
Plaintext
.@{alert-prefix-cls} {
|
|
&&-rtl {
|
|
direction: rtl;
|
|
}
|
|
|
|
&&-no-icon {
|
|
.@{alert-prefix-cls}-rtl& {
|
|
padding: @alert-no-icon-padding-vertical 15px;
|
|
}
|
|
}
|
|
|
|
&-icon {
|
|
.@{alert-prefix-cls}-rtl & {
|
|
margin-right: auto;
|
|
margin-left: @margin-xs;
|
|
}
|
|
}
|
|
|
|
&-action {
|
|
.@{alert-prefix-cls}-rtl & {
|
|
margin-right: @margin-xs;
|
|
margin-left: auto;
|
|
}
|
|
}
|
|
|
|
&-close-icon {
|
|
.@{alert-prefix-cls}-rtl & {
|
|
margin-right: @margin-xs;
|
|
margin-left: auto;
|
|
}
|
|
}
|
|
|
|
&-with-description &-icon {
|
|
.@{alert-prefix-cls}-rtl& {
|
|
margin-right: auto;
|
|
margin-left: @alert-with-description-padding-vertical;
|
|
}
|
|
}
|
|
}
|