Skip to content
This repository has been archived by the owner on Jan 31, 2019. It is now read-only.

Commit

Permalink
new patch online style update
Browse files Browse the repository at this point in the history
  • Loading branch information
3lang3 committed Jun 22, 2017
1 parent 73e0313 commit 7113abb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Favorite/Favorite.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
}

.scrollBox {
height: 48.8% !important;
height: 48.5% !important;
margin-bottom: 1rem;

& > div {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Favorite/Favorite.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class Favorite extends React.Component {
})
}

let _html = favoriteHtml.length > 0
let _html = false
? favoriteHtml
: <div className={styles.noContent}>
<Error img={require('../../../assets/followed-channels__empty.png')} content='关注频道,轻松观看您喜爱的内容。 您可能会喜欢这些内容!' />
Expand Down
4 changes: 3 additions & 1 deletion src/components/Random/Random.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@

.scrollBox {
height: calc(100% - 4.5rem) !important;

& > div {
&:last-child div {
background: #000 !important;
Expand All @@ -8,7 +10,7 @@
}

.favorite {
height: 48%;
height: 50%;
overflow: hidden;

& h4 span {
Expand Down

0 comments on commit 7113abb

Please sign in to comment.