Skip to content

Commit

Permalink
fix(client): don't use lazyload
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroppy committed Jun 22, 2019
1 parent 53176a6 commit 900d245
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
16 changes: 10 additions & 6 deletions packages/client/assets/style/sidebar.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,17 @@
}
}

& > a:not(:first-child) {
margin-top: 4px;
}
& > a {
color: #7bb7fa;

& a:focus {
outline: none;
box-shadow: none !important;
&:not(:first-child) {
margin-top: 4px;
}

&:focus {
outline: none;
box-shadow: none !important;
}
}
}

Expand Down
6 changes: 1 addition & 5 deletions packages/client/src/components/ContentView/Base.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,7 @@ export class Base extends React.Component {
fusumaProps.sectionTitle ? 'section-title' : undefined
)}
>
{(this.state.currentIndex >= i - 5 && this.state.currentIndex <= i + 5) || !lazyload ? (
<Slide />
) : (
<div />
)}
<Slide />
</section>
))}
</article>
Expand Down

0 comments on commit 900d245

Please sign in to comment.