Skip to content

Commit fc922a6

Browse files
Merge pull request #95 from frontChapter/fix-overflow-x
fix overflow x
2 parents 91903b7 + 2bdca9f commit fc922a6

File tree

10 files changed

+31
-31
lines changed

10 files changed

+31
-31
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
"react-dom": "^18",
2626
"react-icons": "^5.0.1",
2727
"recoil": "^0.7.7",
28-
"sass": "^1.70.0",
2928
"server-only": "^0.0.1",
3029
"sharp": "^0.33.2",
3130
"swiper": "^11.0.5",

pnpm-lock.yaml

Lines changed: 3 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/app/components/Speakers/SpeakerCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { TSpeakerCard } from "@/types/home/speakerCard.type";
22
import Image from "next/image";
33
import SpeakerSocials from "./SpeakerSocials";
4-
import styles from "./styles.module.scss";
4+
import styles from "./styles.module.css";
55

66
const SpeakerCard = ({
77
avatar,
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.speakersSection {
2+
@apply relative py-6 lg:pb-44 lg:pt-12;
3+
&::before {
4+
@apply bg-none lg:absolute lg:inset-0 lg:w-full lg:bg-[url("/images/speakers\_lines.svg")] lg:bg-contain lg:bg-bottom lg:bg-no-repeat lg:content-["_"];
5+
}
6+
}

src/app/components/Speakers/Speakers.styles.module.scss

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/app/components/Speakers/Speakers.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { speakersData } from "@/data/speakersData";
22
import { Fragment } from "react";
33
import { RiMicLine } from "react-icons/ri";
44
import SpeakerCard from "./SpeakerCard";
5-
import styles from "./Speakers.styles.module.scss";
5+
import styles from "./Speakers.styles.module.css";
66

77
export default function Speakers() {
88
return (

src/app/components/Timeline/Timeline.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import clsx from "clsx";
22
import Image from "next/image";
33
import Link from "next/link";
4-
import styles from "./Timeline.styles.module.scss";
4+
import styles from "./Timeline.styles.module.css";
55
import { TimelineItemType } from "./Timeline.types";
66
import { confDayTimeline, nightTimeline } from "./data";
77

src/styles/globals.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,22 @@
55
html {
66
scroll-behavior: smooth;
77
}
8+
9+
body {
10+
&::-webkit-scrollbar {
11+
width: 8px;
12+
}
13+
14+
&::-webkit-scrollbar-track {
15+
background: #333;
16+
}
17+
18+
&::-webkit-scrollbar-thumb {
19+
background: #555;
20+
border-radius: 8px;
21+
22+
&:hover {
23+
background: #dadada;
24+
}
25+
}
26+
}

0 commit comments

Comments
 (0)