Update MovieCard button labels for consistency and adjust layout margins in MovieList and SearchMovies components for improved responsiveness.

This commit is contained in:
Norbert Maciaszek 2025-08-05 22:53:20 +02:00
parent 3809110a39
commit a91ac1d1b4
3 changed files with 5 additions and 5 deletions

View File

@ -107,7 +107,7 @@ export const MovieCard: FC<Props> = ({
className={`${buttonClass} bg-primary/70 text-white hover:bg-primary`}
onClick={handleAdd}
>
Add to watchlist
Add to list
</button>
)}
{alreadyInStore && (
@ -132,7 +132,7 @@ export const MovieCard: FC<Props> = ({
className={`${buttonClass} bg-primary/70 text-white hover:bg-primary`}
onClick={handleRemove}
>
Remove from watchlist
Remove from list
</button>
</>
)}

View File

@ -61,7 +61,7 @@ export const MovieList: FC<Props> = ({
};
return (
<section className="my-20">
<section className="my-4 md:my-10">
<div className="container">
<div className="row">
<div className="col-12 md:col-10">

View File

@ -14,10 +14,10 @@ export const SearchMovies = () => {
};
return (
<section className="mb-20">
<section className="mb-4 md:mb-10">
<div className="container">
<div className="row justify-center">
<div className="col-5">
<div className="col-12 md:col-5">
<SearchInput onChange={handleSearch} />
</div>
</div>