File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -79,12 +79,12 @@ export default function Home() {
7979 < div className = "text-sm font-medium text-pink-400 mb-2 uppercase tracking-wide" >
8080 Fresh Presets
8181 </ div >
82- < div className = "flex gap-4" >
82+ < div className = "flex gap-4 overflow-x-auto scrollbar-hide -mx-4 px-4 " >
8383 { latestPresets . map ( ( preset ) => (
8484 < Link
8585 key = { preset . id }
8686 href = { createPresetLink ( preset ) }
87- className = "flex-1 min-w-[180px] max-w-[250px] bg-gray-800/50 backdrop-blur-sm rounded-lg p-4 border border-white/10 hover:border-pink-500/50 hover:bg-gray-800/70 transition-all group"
87+ className = "flex-shrink-0 w-[180px] sm:flex-1 sm: min-w-[180px] sm: max-w-[250px] bg-gray-800/50 backdrop-blur-sm rounded-lg p-4 border border-white/10 hover:border-pink-500/50 hover:bg-gray-800/70 transition-all group"
8888 >
8989 < div className = "text-sm font-semibold text-gray-300 group-hover:text-pink-400 transition-colors mb-1" >
9090 { preset . origin . artist . title }
Original file line number Diff line number Diff line change 2121 background-color : rgba (255 , 255 , 255 , 0.2 );
2222 border-radius : 3px ;
2323}
24+
25+ /* Hide scrollbar utility */
26+ .scrollbar-hide {
27+ -ms-overflow-style : none;
28+ scrollbar-width : none;
29+ }
30+
31+ .scrollbar-hide ::-webkit-scrollbar {
32+ display : none;
33+ }
You can’t perform that action at this time.
0 commit comments