Skip to content

Commit

Permalink
fix justify for mobile and dekstop
Browse files Browse the repository at this point in the history
  • Loading branch information
mgalihpp committed Nov 24, 2023
1 parent 504eb9d commit 724cc3a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion client/src/pages/Category.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const Category = () => {
</div>
</div>
<div
className={`flex flex-row flex-wrap items-start mx-auto justify-center gap-2 bg-gradient-to-b ${selectedCat?.re} ${selectedCat?.to} h-full sm:gap-4 py-12 px-4
className={`flex flex-row flex-wrap items-start mx-auto justify-center sm:justify-start gap-2 bg-gradient-to-b ${selectedCat?.re} ${selectedCat?.to} h-full sm:gap-4 py-12 px-4
`}
>
{compLoad ? (
Expand Down
4 changes: 2 additions & 2 deletions client/src/pages/Home/Main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const Main = () => {
</h1>
</div>
<Suspense fallback={<Loading />}>
<div className="flex flex-wrap mx-auto flex-row items-center justify-start gap-4">
<div className="flex flex-wrap mx-auto flex-row items-center justify-center sm:justify-start gap-4">
{isPLoading ? (
Array.from({ length: 3 }, (_, index) => (
<div key={index}>
Expand Down Expand Up @@ -126,7 +126,7 @@ const Main = () => {

<Suspense fallback={<Loading />}>
<div
className={`flex flex-row flex-wrap items-start justify-center gap-4 mt-4
className={`flex flex-row flex-wrap start items-start justify-center sm:justify-start gap-4 mt-4
`}
>
{isLoading ? (
Expand Down
2 changes: 1 addition & 1 deletion client/src/pages/SearchMusic.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ const SearchMusic = () => {
</h1>
</div>
<div
className={`flex items-center flex-row flex-wrap gap-4 mt-4
className={`flex items-center flex-row flex-wrap justify-center sm:justify-start gap-4 mt-4
`}
>
{renderMusicCards()}
Expand Down

0 comments on commit 724cc3a

Please sign in to comment.