File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
src/Page/OpportunitiesHub Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -524,18 +524,17 @@ const HackathonListContainer = styled.div`
524
524
525
525
const FilterContainer = styled . div `
526
526
display: flex;
527
- flex-direction: row;
527
+ flex-direction: column; /* Default: stacked for mobile */
528
528
align-items: center;
529
529
justify-content: center;
530
- flex-wrap: wrap;
531
530
gap: 1rem;
532
531
margin-bottom: 2rem;
533
532
534
533
input,
535
534
select {
536
- padding: 0.75rem 1rem; /* Adjusted padding */
535
+ padding: 0.75rem 1rem;
537
536
border: 1px solid #00a6fb;
538
- border-radius: 9999px; /* fully rounded */
537
+ border-radius: 9999px;
539
538
background: rgba(15, 27, 53, 0.9);
540
539
color: #ffffff;
541
540
font-size: 1rem;
@@ -558,6 +557,10 @@ const FilterContainer = styled.div`
558
557
box-shadow: 0 0 0 2px rgba(20, 200, 255, 0.4);
559
558
}
560
559
}
560
+
561
+ @media (min-width: 768px) {
562
+ flex-direction: row; /* Horizontal layout for tablets and larger */
563
+ }
561
564
` ;
562
565
563
566
const HackathonList = ( ) => {
You can’t perform that action at this time.
0 commit comments