mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-19 11:58:41 +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;
|
|
}
|
|
}
|
|
}
|