Skip to content

Commit

Permalink
update divider for smaller device screens
Browse files Browse the repository at this point in the history
  • Loading branch information
pinapelz committed Oct 7, 2024
1 parent cb76309 commit 3292675
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Divider/Divider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ interface DividerProps {

const Divider = (props: DividerProps) => {
return (
<div className="flex flex-col items-center justify-center bg-black h-28 mx-24 rounded-xl px-72">
<div className="px-2 mt-2 text-white text-4xl font-extrabold">
<div className="flex flex-col items-center justify-center bg-black h-28 mx-6 sm:mx-12 md:mx-24 rounded-xl px-4 sm:px-12 md:px-72">
<div className="px-2 mt-2 text-white text-2xl sm:text-3xl md:text-4xl font-extrabold">
{props.text}
</div>
{props.description && (
<div className="px-2 my-2 text-white text-lg font-medium">
<div className="px-2 my-2 text-white text-sm sm:text-base md:text-lg font-medium">
{props.description}
</div>
)}
Expand Down

0 comments on commit 3292675

Please sign in to comment.