Skip to content

Commit

Permalink
Merge pull request #387 from HarleenKaurBhullar/makingbuttonresponsive
Browse files Browse the repository at this point in the history
Implement Responsive Button behavior in shop.js
  • Loading branch information
Mujtabaa07 authored Jan 25, 2025
2 parents 5432376 + 0f0bd4e commit 19bfe2c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Pages/Shop.js
Original file line number Diff line number Diff line change
Expand Up @@ -763,9 +763,13 @@ function Shop() {
variant="text"
aria-label="Basic button group"
sx={{
display:'flex',
alignItems:'center', //to align buttons in center
flexDirection:{xs:'column',sm:'column',md:'row'}, //to make button group adjust to different screen size
justifyContent:'center',
borderRadius: "8px",
padding: "4px",
marginLeft: "230px",

}}
>
<Button
Expand Down

0 comments on commit 19bfe2c

Please sign in to comment.