fix z-index, adjust colors

This commit is contained in:
martin-mfg
2025-11-27 22:05:18 +01:00
parent b3f0e25ecd
commit 99042547c2
2 changed files with 4 additions and 4 deletions
@@ -46,12 +46,12 @@ const ProgressBar = ({ items, currItem, setCurrItem }) => {
const rightDisabled = currItem === items.length - 1;
return (
<div className="w-full flex items-center sticky top-0 bg-gray-300 z-10 pt-3 pb-1 px-20 shadow-md">
<div className="w-full flex items-center sticky top-0 bg-gray-200 z-50 pt-3 pb-1 px-20 shadow-md">
<LeftArrowIcon
className={classnames(
'w-8 h-8',
leftDisabled
? 'text-gray-300 cursor-not-allowed'
? 'text-gray-400 cursor-not-allowed'
: 'text-gray-700 cursor-pointer',
)}
onClick={() => setCurrItem(Math.max(currItem - 1, 0))}
@@ -73,7 +73,7 @@ const ProgressBar = ({ items, currItem, setCurrItem }) => {
className={classnames(
'w-8 h-8',
rightDisabled
? 'text-gray-300 cursor-not-allowed'
? 'text-gray-400 cursor-not-allowed'
: 'text-gray-700 cursor-pointer',
)}
onClick={() => setCurrItem(Math.min(currItem + 1, items.length - 1))}
+1 -1
View File
@@ -70,7 +70,7 @@ const Header = ({ mode, stage, setStage }) => {
return (
<>
<div className="text-gray-100 bg-gray-800 shadow-md body-font z-20">
<div className="text-gray-100 bg-gray-800 shadow-md body-font z-50">
<div className="px-5 py-2 flex flex-wrap">
{/* GitHub Trends Logo */}
<Link