Skip to content

Commit

Permalink
feat: 💄 make date bar sticky & increase z-index
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonWarrenUK committed Dec 12, 2024
1 parent 5b41687 commit e24cb8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/insights/components/InsightsDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export default function InsightsDisplay() {

return (
<>
<div className="flex text-center w-full m-auto justify-between bg-twd-navbar-background py-2 px-4">
<div className="flex text-center w-full m-auto justify-between bg-twd-navbar-background py-2 px-4 sticky top-0 z-50">
{dateOptions.map((dateOption, index) => {
const isActive = selectedButton === dateOption;
return (
Expand Down

0 comments on commit e24cb8b

Please sign in to comment.