Skip to content

Commit

Permalink
add header style
Browse files Browse the repository at this point in the history
  • Loading branch information
forthealllight committed Oct 16, 2018
1 parent c4ba8ad commit d8b5f70
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions src/components/MobilePDFReader/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,16 @@
@import './common.less';
:global{
.mobile__pdf__container{
header {
header{
background-color: #f4f4f4;
}
header h1 {
border-bottom: 1px solid #d8d8d8;
color: #858585;
font-size: 23px;
font-size: 1rem;
font-style: italic;
font-weight: normal;
overflow: hidden;
height:1.5rem;
height:2rem;
line-height:2rem;
text-align: center;
text-overflow: ellipsis;
white-space: nowrap;
Expand Down Expand Up @@ -116,7 +115,7 @@
position: absolute;
overflow: auto;
width: 100%;
top: 1.5rem;
top: 2.5rem;
bottom: 1rem;
left: 0;
right: 0;
Expand Down
2 changes: 1 addition & 1 deletion src/components/MobilePDFReader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ class MobilePDFReader extends Component<IProps,IStates> {
public render(){
const { title } = this.state;
return <div className='mobile__pdf__container'>
<header>
<header className="mobile__pdf__container__header">
{title}
</header>
<div id="viewerContainer" ref={this.container}>
Expand Down

0 comments on commit d8b5f70

Please sign in to comment.