Skip to content

Commit

Permalink
pure page header style
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed Oct 10, 2019
1 parent b41bdb0 commit c881680
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 deletions.
6 changes: 0 additions & 6 deletions components/page-header/demo/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,3 @@ ReactDOM.render(
mountNode,
);
```

<style>
.ant-page-header {
border: 1px solid rgb(235, 237, 240);
}
<style>
2 changes: 1 addition & 1 deletion components/page-header/demo/responsive.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
order: 4
iframe: 240
iframe: 210
title:
zh-CN: 响应式
en-US: responsive
Expand Down
12 changes: 6 additions & 6 deletions components/page-header/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@
.reset-component;

position: relative;
padding: @page-header-padding;
padding: @page-header-padding-vertical @page-header-padding;

&.has-breadcrumb {
padding-top: @page-header-padding-breadcrumb;
}

&.has-footer {
padding-bottom: @page-header-padding-vertical;
padding-bottom: 0;
}

&-back {
float: left;
margin: 6px 0;
margin: 8px 0;
margin-right: 16px;
font-size: 20px;
font-size: 16px;
line-height: 1;
&-button {
.operation-unit();
Expand Down Expand Up @@ -50,7 +50,7 @@
padding-right: 12px;
color: @heading-color;
font-weight: 600;
font-size: @heading-3-size;
font-size: @heading-4-size;
line-height: 32px;
}

Expand Down Expand Up @@ -85,7 +85,7 @@
}

&-content {
padding-top: 16px;
padding-top: 12px;
overflow: hidden;
}

Expand Down

0 comments on commit c881680

Please sign in to comment.