mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +01:00
Perfect padding above the media cards
This commit is contained in:
parent
3c54a6261d
commit
1b72519cfa
1 changed files with 2 additions and 2 deletions
|
@ -253,7 +253,7 @@ export function Discover() {
|
|||
: `${category} Movies`;
|
||||
return (
|
||||
<div className="relative overflow-hidden mt-2">
|
||||
<h2 className="text-2xl font-bold text-white sm:text-3xl md:text-2xl mx-auto pl-5">
|
||||
<h2 className="text-2xl font-bold text-white sm:text-3xl md:text-2xl mx-auto pl-6">
|
||||
{displayCategory}
|
||||
</h2>
|
||||
<div
|
||||
|
@ -281,7 +281,7 @@ export function Discover() {
|
|||
}`,
|
||||
)
|
||||
}
|
||||
className="text-center relative mt-2 ml-[0.285em] mr-[0.2em]"
|
||||
className="text-center relative mt-3 ml-[0.285em] mr-[0.2em]"
|
||||
style={{ flex: `0 0 ${movieWidth}` }} // Set a fixed width for each movie
|
||||
>
|
||||
<div className="relative transition-transform hover:scale-105 duration-[0.45s]">
|
||||
|
|
Loading…
Reference in a new issue