Skip to content

Commit

Permalink
feat: make summary box sticky (gitcoinco#2663)
Browse files Browse the repository at this point in the history
  • Loading branch information
vacekj committed Nov 22, 2023
1 parent 0245c75 commit 729fc34
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ export function SummaryContainer() {
}

return (
<div className="mb-5 block px-[16px] py-4 rounded-lg shadow-lg bg-white border border-violet-400 font-semibold">
<div className="mb-5 block px-[16px] py-4 rounded-lg shadow-lg bg-white border border-violet-400 font-semibold sticky top-20">
<h2 className="text-xl border-b-2 pb-2">Summary</h2>
<div
className={`flex flex-row items-center justify-between mt-4 font-semibold italic ${passportTextClass}`}
Expand Down

0 comments on commit 729fc34

Please sign in to comment.