Skip to content

Commit

Permalink
Merge pull request #87 from Vizzuality/minor-design-tweaks-intro-borders
Browse files Browse the repository at this point in the history
Add right border to intro sections in order to frame them better
  • Loading branch information
agnlez authored Nov 28, 2023
2 parents cb1c5c2 + 84d0727 commit b1e1bad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/static-pages/intro/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const Intro: React.FC<IntroProps> = ({
{description && <div className="pr-[20%] text-xl">{description}</div>}
</div>
</div>
<div className="w-full border-l border-black md:w-[40%]">
<div className="w-full border-l border-r border-black md:w-[40%]">
<div className="flex h-full flex-col">
<span
className="aspect-square max-h-[200px] border-b border-black bg-cover bg-center bg-no-repeat mix-blend-multiply md:max-h-full"
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/containers/homepage/intro/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const Intro: React.FC<IntroProps> = ({ onScrollClick }) => {
</div>
</div>
<div className="border-l border-t border-white md:w-[40%] md:border-t-0">
<div className="flex h-full flex-col">
<div className="flex h-full flex-col border-r">
<SidebarItem
percentage={formattedOceanProtectedAreaPercentage}
text="Current global ocean protected area"
Expand Down

0 comments on commit b1e1bad

Please sign in to comment.