Skip to content
This repository has been archived by the owner on Nov 4, 2020. It is now read-only.

Commit

Permalink
Scrollable Cards (#137)
Browse files Browse the repository at this point in the history
* Fix performance killer, minor design changes to the cards

* Adding back scrollable cards (done via CSS, does not kill the performance that much) + done some nice simple design changes for browser with webkit implementation

* Update style.css
  • Loading branch information
Nitair authored and stevemart committed Jan 5, 2019
1 parent 1259c5d commit 9591a2f
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,25 @@ div.news {
margin: 5px;
height: 160px;
text-overflow: ellipsis;
overflow: hidden;
}
overflow-x: hidden;
overflow-y: auto;
}

::-webkit-scrollbar {
width: 5px;
}

::-webkit-scrollbar-track {
background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
background: #888;
}

::-webkit-scrollbar-thumb:hover {
background: #555;
}

.filter {
padding: 10px;
Expand Down

0 comments on commit 9591a2f

Please sign in to comment.