feat(frontend): design updates for responsive titlecards

This commit is contained in:
sct
2020-09-17 00:19:01 +00:00
parent b92f64fa6e
commit 31809d952c
6 changed files with 114 additions and 25 deletions

View File

@@ -15,10 +15,7 @@ const Slider: React.FC<SliderProps> = ({
isEmpty,
}) => {
return (
<div
className="overflow-x-scroll whitespace-no-wrap hide-scrollbar scrolling-touch overscroll-x-contain -ml-4 -mr-4"
style={{ height: 295 }}
>
<div className="overflow-x-scroll whitespace-no-wrap hide-scrollbar scrolling-touch overscroll-x-contain -ml-4 -mr-4">
{items?.map((item, index) => (
<div
key={`${sliderKey}-${index}`}