Skip to content

Commit 0ffd3e2

Browse files
committed
hack
1 parent 9b37913 commit 0ffd3e2

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

src/Page/OpportunitiesHub/HackathonList.jsx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -524,18 +524,17 @@ const HackathonListContainer = styled.div`
524524

525525
const FilterContainer = styled.div`
526526
display: flex;
527-
flex-direction: row;
527+
flex-direction: column; /* Default: stacked for mobile */
528528
align-items: center;
529529
justify-content: center;
530-
flex-wrap: wrap;
531530
gap: 1rem;
532531
margin-bottom: 2rem;
533532
534533
input,
535534
select {
536-
padding: 0.75rem 1rem; /* Adjusted padding */
535+
padding: 0.75rem 1rem;
537536
border: 1px solid #00a6fb;
538-
border-radius: 9999px; /* fully rounded */
537+
border-radius: 9999px;
539538
background: rgba(15, 27, 53, 0.9);
540539
color: #ffffff;
541540
font-size: 1rem;
@@ -558,6 +557,10 @@ const FilterContainer = styled.div`
558557
box-shadow: 0 0 0 2px rgba(20, 200, 255, 0.4);
559558
}
560559
}
560+
561+
@media (min-width: 768px) {
562+
flex-direction: row; /* Horizontal layout for tablets and larger */
563+
}
561564
`;
562565

563566
const HackathonList = () => {

0 commit comments

Comments
 (0)