fix(frontend): request dropdown menu now properly shows up over collection button

pull/633/head
sct 4 years ago
parent 6b2df24a2e
commit b491be1b1e

@ -212,7 +212,7 @@ const MovieDetails: React.FC<MovieDetailsProps> = ({ movie }) => {
{data.genres.map((g) => g.name).join(', ')} {data.genres.map((g) => g.name).join(', ')}
</span> </span>
</div> </div>
<div className="flex justify-end flex-shrink-0 mt-4 lg:mt-0"> <div className="relative z-10 flex justify-end flex-shrink-0 mt-4 lg:mt-0">
{trailerUrl && ( {trailerUrl && (
<a href={trailerUrl} target={'_blank'} rel="noreferrer"> <a href={trailerUrl} target={'_blank'} rel="noreferrer">
<Button buttonType="ghost"> <Button buttonType="ghost">
@ -332,7 +332,7 @@ const MovieDetails: React.FC<MovieDetailsProps> = ({ movie }) => {
<Link href={`/collection/${data.collection.id}`}> <Link href={`/collection/${data.collection.id}`}>
<a> <a>
<div <div
className="relative transition duration-300 transform scale-100 bg-gray-800 bg-center bg-cover rounded-lg shadow-md cursor-pointer group hover:scale-105" className="relative z-0 transition duration-300 scale-100 bg-gray-800 bg-center bg-cover rounded-lg shadow-md cursor-pointer transform-gpu group hover:scale-105"
style={{ style={{
backgroundImage: `linear-gradient(180deg, rgba(31, 41, 55, 0.47) 0%, rgba(31, 41, 55, 0.80) 100%), url(//image.tmdb.org/t/p/w1440_and_h320_multi_faces/${data.collection.backdropPath})`, backgroundImage: `linear-gradient(180deg, rgba(31, 41, 55, 0.47) 0%, rgba(31, 41, 55, 0.80) 100%), url(//image.tmdb.org/t/p/w1440_and_h320_multi_faces/${data.collection.backdropPath})`,
}} }}

Loading…
Cancel
Save