Skip to content

Commit

Permalink
fix(frontend): fix title detail background image to be centered
Browse files Browse the repository at this point in the history
  • Loading branch information
sct committed Sep 16, 2020
1 parent 73ce24a commit b92f64f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MovieDetails/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const MovieDetails: React.FC<MovieDetailsProps> = ({ movie }) => {
}
return (
<div
className="bg-cover -mx-4 -mt-2 px-8 pt-4 "
className="bg-cover bg-center -mx-4 -mt-2 px-8 pt-4 "
style={{
height: 493,
backgroundImage: `linear-gradient(180deg, rgba(45, 55, 72, 0.47) 0%, #1A202E 100%), url(//image.tmdb.org/t/p/w1920_and_h800_multi_faces/${data.backdropPath})`,
Expand Down

0 comments on commit b92f64f

Please sign in to comment.