Skip to content

Commit

Permalink
Merge pull request #492 from pknu-wap/develop
Browse files Browse the repository at this point in the history
hotfix : Footer 너비로 인한 수평 스크롤 발생 및 다크모드 적용
  • Loading branch information
wkdghdwns199 authored Sep 4, 2024
2 parents f6b75bd + e04e6e9 commit d9523eb
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions client/src/components/layout/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import IconButton from "../button/IconButton";
import RulesModal from "../modal/RulesModal";
import { useRecoilState } from "recoil";
import { rulesModalState, soundEffectStatus } from "../../recoil/recoil";
import FullLayout from "./FullLayout";
const { useEffect, useState, useRef } = React;

type Props = {
Expand All @@ -30,14 +31,17 @@ const Footer = ({ dark, toggleDarkMode }: ComponentProps) => {


return (
<footer className="m-5 z-30 flex absolute bottom-0 w-11/12 justify-between">
<div className="relative bottom-3">
© WAG!
</div>
<div className="relative bottom-3">
v1.0.0
</div>
</footer>
<FullLayout>
<footer className={`w-full z-30 flex justify-between items-center pr-3 pl-3 `}>
<div>
© WAG!
</div>
<div>
v1.0.0
</div>
</footer>
</FullLayout>

);
};

Expand Down

0 comments on commit d9523eb

Please sign in to comment.