xrkffgg
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
8 additions and
6 deletions
-
components/page-header/demo/content.md
-
components/page-header/style/rtl.less
|
|
@ -158,6 +158,10 @@ ReactDOM.render( |
|
|
|
align-items: center; |
|
|
|
} |
|
|
|
|
|
|
|
#components-page-header-demo-content .ant-page-header-rtl .image { |
|
|
|
margin: 0 60px 0 0; |
|
|
|
} |
|
|
|
|
|
|
|
#components-page-header-demo-content .example-link { |
|
|
|
margin-right: 16px; |
|
|
|
} |
|
|
|
|
|
@ -19,17 +19,15 @@ |
|
|
|
&-heading { |
|
|
|
&-title { |
|
|
|
.@{pageheader-prefix-cls}-rtl & { |
|
|
|
float: right; |
|
|
|
padding-right: 0; |
|
|
|
padding-left: 12px; |
|
|
|
margin-right: 0; |
|
|
|
margin-left: @margin-sm; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.@{ant-prefix}-avatar { |
|
|
|
.@{pageheader-prefix-cls}-rtl & { |
|
|
|
float: right; |
|
|
|
margin-right: 0; |
|
|
|
margin-left: 12px; |
|
|
|
margin-left: @margin-sm; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
@ -54,7 +52,7 @@ |
|
|
|
|
|
|
|
> * { |
|
|
|
.@{pageheader-prefix-cls}-rtl & { |
|
|
|
margin-right: 8px; |
|
|
|
margin-right: @margin-sm; |
|
|
|
margin-left: 0; |
|
|
|
} |
|
|
|
} |
|
|
|