Scrollable Cards (#137) · IBM/ibm.github.io@9591a2f · GitHub | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content
This repository was archived by the owner on Nov 4, 2020. It is now read-only.

Commit 9591a2f

Browse files
Nitairstevemart
authored andcommitted
Scrollable Cards (#137)
* 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
1 parent 1259c5d commit 9591a2f

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

css/style.css

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,8 +293,25 @@ div.news {
293293
margin: 5px;
294294
height: 160px;
295295
text-overflow: ellipsis;
296-
overflow: hidden;
297-
}
296+
overflow-x: hidden;
297+
overflow-y: auto;
298+
}
299+
300+
::-webkit-scrollbar {
301+
width: 5px;
302+
}
303+
304+
::-webkit-scrollbar-track {
305+
background: #f1f1f1;
306+
}
307+
308+
::-webkit-scrollbar-thumb {
309+
background: #888;
310+
}
311+
312+
::-webkit-scrollbar-thumb:hover {
313+
background: #555;
314+
}
298315

299316
.filter {
300317
padding: 10px;

0 commit comments

Comments
 (0)

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.