Skip to content

Commit

Permalink
switch game to quiz
Browse files Browse the repository at this point in the history
  • Loading branch information
ydem1 committed Mar 6, 2024
1 parent 4d35a4a commit ca45e8a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/header/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
.header {
border-bottom: 0.5px solid $divider-color;

margin: 8px;
margin: 0 8px 8px 8px;

&__logo {
font-size: 14px;
Expand Down
File renamed without changes.
4 changes: 1 addition & 3 deletions src/pages/memorization.page/quiz/quiz.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
@import '../../../style/utils.scss';

.quiz {
position: relative;

&__article {
width: 100%;
max-width: 450px;
Expand Down Expand Up @@ -79,7 +77,7 @@

.result {
position: absolute;
top: 10px;
top: 0;
left: 0;
right: 0;
bottom: 0;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/memorization.page/quiz/quiz.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useNavigate, useParams } from "react-router-dom";
import { RootState } from "../../../store/store";
import classNames from "classnames";

import { shuffleArray } from "../../../constants/shuffleArray";
import { shuffleArray } from "../../../functions/shuffleArray";
import { COUNT_OPTINALS, COUNT_TASKS } from "../../../constants/game";
import { NotFoundPage } from "../../not.found.page";

Expand Down

0 comments on commit ca45e8a

Please sign in to comment.