Skip to content

Commit

Permalink
Merge pull request #343 from bounswe/issue#342
Browse files Browse the repository at this point in the history
Update styles for mobile responsive Feed page
  • Loading branch information
sametaln authored Dec 16, 2024
2 parents c96cdde + e467ca0 commit 46ce804
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion frontend/src/components/PostFeed.component.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,12 @@ function PostFeed() {
<VStack // Use VStack to stack components vertically
spacing={6} // Add space between the boxes
align="stretch" // Make children stretch to full width
w="40%" // Full width of the parent container
w={
useBreakpointValue({
base: 'full', // Full width on small screens
lg: 'md', // Larger width on desktop
})
}
>
{/* Today's Programs */}
{/* {programs.length > 0 && (
Expand All @@ -54,6 +59,7 @@ function PostFeed() {
borderRadius="md"
p={4}
boxShadow="sm"
width={'full'} // Full width on small screens, larger on desktop
>
<Heading size="lg" mb={4}>Recommended Programs</Heading>
{programs.length > 0 ? (
Expand Down

0 comments on commit 46ce804

Please sign in to comment.