mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
fix(frontend): aligned movie and tv details (#331)
This commit is contained in:
@@ -193,14 +193,14 @@ const MovieDetails: React.FC<MovieDetailsProps> = ({ movie }) => {
|
|||||||
)}
|
)}
|
||||||
</SlideOver>
|
</SlideOver>
|
||||||
<div className="flex flex-col items-center md:flex-row md:items-end pt-4">
|
<div className="flex flex-col items-center md:flex-row md:items-end pt-4">
|
||||||
<div className="mr-4 flex-shrink-0">
|
<div className="md:mr-4 flex-shrink-0">
|
||||||
<img
|
<img
|
||||||
src={`//image.tmdb.org/t/p/w600_and_h900_bestv2${data.posterPath}`}
|
src={`//image.tmdb.org/t/p/w600_and_h900_bestv2${data.posterPath}`}
|
||||||
alt=""
|
alt=""
|
||||||
className="rounded md:rounded-lg shadow md:shadow-2xl w-32 md:w-52"
|
className="rounded md:rounded-lg shadow md:shadow-2xl w-32 md:w-52"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className="text-white flex flex-col mr-4 mt-4 md:mt-0 text-center md:text-left">
|
<div className="text-white flex flex-col md:mr-4 mt-4 md:mt-0 text-center md:text-left">
|
||||||
<div className="mb-2">
|
<div className="mb-2">
|
||||||
{data.mediaInfo?.status === MediaStatus.AVAILABLE && (
|
{data.mediaInfo?.status === MediaStatus.AVAILABLE && (
|
||||||
<Badge badgeType="success">
|
<Badge badgeType="success">
|
||||||
@@ -352,7 +352,7 @@ const MovieDetails: React.FC<MovieDetailsProps> = ({ movie }) => {
|
|||||||
{hasPermission(Permission.MANAGE_REQUESTS) && (
|
{hasPermission(Permission.MANAGE_REQUESTS) && (
|
||||||
<Button
|
<Button
|
||||||
buttonType="default"
|
buttonType="default"
|
||||||
className="ml-2"
|
className="ml-2 first:ml-0"
|
||||||
onClick={() => setShowManager(true)}
|
onClick={() => setShowManager(true)}
|
||||||
>
|
>
|
||||||
<svg
|
<svg
|
||||||
|
@@ -196,14 +196,14 @@ const TvDetails: React.FC<TvDetailsProps> = ({ tv }) => {
|
|||||||
)}
|
)}
|
||||||
</SlideOver>
|
</SlideOver>
|
||||||
<div className="flex flex-col items-center md:flex-row md:items-end pt-4">
|
<div className="flex flex-col items-center md:flex-row md:items-end pt-4">
|
||||||
<div className="mr-4 flex-shrink-0">
|
<div className="md:mr-4 flex-shrink-0">
|
||||||
<img
|
<img
|
||||||
src={`//image.tmdb.org/t/p/w600_and_h900_bestv2${data.posterPath}`}
|
src={`//image.tmdb.org/t/p/w600_and_h900_bestv2${data.posterPath}`}
|
||||||
alt=""
|
alt=""
|
||||||
className="rounded md:rounded-lg shadow md:shadow-2xl w-32 md:w-52"
|
className="rounded md:rounded-lg shadow md:shadow-2xl w-32 md:w-52"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className="text-white flex flex-col mr-4 mt-4 md:mt-0 text-center md:text-left">
|
<div className="text-white flex flex-col md:mr-4 mt-4 md:mt-0 text-center md:text-left">
|
||||||
<div className="mb-2">
|
<div className="mb-2">
|
||||||
{data.mediaInfo?.status === MediaStatus.AVAILABLE && (
|
{data.mediaInfo?.status === MediaStatus.AVAILABLE && (
|
||||||
<Badge badgeType="success">
|
<Badge badgeType="success">
|
||||||
@@ -344,7 +344,7 @@ const TvDetails: React.FC<TvDetailsProps> = ({ tv }) => {
|
|||||||
{hasPermission(Permission.MANAGE_REQUESTS) && (
|
{hasPermission(Permission.MANAGE_REQUESTS) && (
|
||||||
<Button
|
<Button
|
||||||
buttonType="default"
|
buttonType="default"
|
||||||
className="ml-2"
|
className="ml-2 first:ml-0"
|
||||||
onClick={() => setShowManager(true)}
|
onClick={() => setShowManager(true)}
|
||||||
>
|
>
|
||||||
<svg
|
<svg
|
||||||
|
Reference in New Issue
Block a user