Skip to content

Commit

Permalink
fix: srollable content on substitutions
Browse files Browse the repository at this point in the history
  • Loading branch information
majusss committed Sep 3, 2024
1 parent 6590249 commit c24f050
Showing 1 changed file with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,11 @@ const RenderSubstitutionsMobile: React.FC<RenderSubstitutionsProps> = ({
time,
}) => {
return (
<div className="mb-20 min-h-screen">
<div className="w-full">
<div className="mx-1.5 my-2.5 flex min-h-12 items-center justify-center rounded-md bg-white dark:bg-[#242424]">
<p className="p-2 text-center font-semibold text-gray-900 dark:text-white">
{filteredSubstitutions.length > 0 ? time : "Brak zastępstw"}
</p>
</div>
<div className="mb-20 w-screen">
<div className="mx-1.5 my-2.5 flex min-h-12 items-center justify-center rounded-md bg-white dark:bg-[#242424]">
<p className="p-2 text-center font-semibold text-gray-900 dark:text-white">
{filteredSubstitutions.length > 0 ? time : "Brak zastępstw"}
</p>
</div>
<div key={index} className="w-full overflow-x-auto text-center text-sm">
{!!filteredSubstitutions.length && (
Expand Down

0 comments on commit c24f050

Please sign in to comment.