Skip to content

Commit

Permalink
Merge pull request #25 from Bostonhacks/fix-z-index
Browse files Browse the repository at this point in the history
fixed z index
  • Loading branch information
danielyu12 authored Aug 28, 2023
2 parents f9e3c9c + ae4c89d commit 020823c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/LandingPageComponents/Title.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import title from '../../assets/images/title.svg';

const Title = () => {
return (
<section className="w-full flex flex-col items-center justify-center text-text-primary ">
<section className="w-full flex flex-col items-center justify-center text-text-primary z-50">
<div className="relative flex items-center justify-center">
<img className="w-[60vw] md:w-[30vw]" src={title} alt="Boston Hacks" />
</div>
Expand Down
6 changes: 3 additions & 3 deletions src/components/LandingPageComponents/TrackModals.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,23 @@ const TrackModals = () => {
<div className="w-full flex flex-row items-center justify-center">
<div className="w-[75vw] flex flex-col md:flex-row items-center justify-around">
<button
className="mt-[10vh] md:mt-0 "
className="mt-[10vh] md:mt-0 z-50"
onClick={() => {
setTrack1Open(true);
}}
>
<img src={track1} alt="track 1" />
</button>
<button
className="mt-[10vh] md:mt-0"
className="mt-[10vh] md:mt-0 z-50"
onClick={() => {
setTrack2Open(true);
}}
>
<img src={track2} alt="track 2" />
</button>
<button
className="mt-[10vh] md:mt-0"
className="mt-[10vh] md:mt-0 z-50"
onClick={() => {
setTrack3Open(true);
}}
Expand Down
2 changes: 1 addition & 1 deletion src/components/SponsorPageComponents/SponsorButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const SponsorButton = () => {

return (
<div className="justify-center flex mt-[27.8px] z-50">
<button onClick={handleClick}>
<button className="z-50" onClick={handleClick}>
<img
src={image}
onMouseOver={() => setImage(HoverButtonState)}
Expand Down

0 comments on commit 020823c

Please sign in to comment.