Skip to content

Commit 34525c2

Browse files
committed
feat : className 컨벤션 수정
1 parent 7e8cc85 commit 34525c2

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

package/src/ReactFullpage.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,17 @@ html.react-fullpage__html *:has(.react-fullpage__wrapper) {
6161
z-index: 10;
6262
width: 8px;
6363
}
64-
.react-fullpage__scrollbar__sticker {
64+
.react-fullpage__scrollbar-sticker {
6565
position: sticky;
6666
top: 0;
6767
width: 100%;
6868
}
69-
.react-fullpage__scrollbar__container {
69+
.react-fullpage__scrollbar-container {
7070
overflow: hidden;
7171
position: relative;
7272
width: 100%;
7373
}
74-
.react-fullpage__scrollbar__handler {
74+
.react-fullpage__scrollbar-handler {
7575
border: none;
7676
border-radius: 4px;
7777
background: none;
@@ -84,6 +84,6 @@ html.react-fullpage__html *:has(.react-fullpage__wrapper) {
8484
background: rgba(0, 0, 0, 0.3);
8585
cursor: default;
8686
}
87-
.react-fullpage__scrollbar__handler.is-pressed {
87+
.react-fullpage__scrollbar-handler.is-pressed {
8888
background: rgba(0, 0, 0, 0.6);
8989
}

package/src/components/FullpageScrollbar.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,17 +65,17 @@ function FullpageScrollbar({ scrollHeight, scrollY, section }: IProps) {
6565
style={{ height: `${scrollHeight}px` }}
6666
>
6767
<div
68-
className="react-fullpage__scrollbar__sticker"
68+
className="react-fullpage__scrollbar-sticker"
6969
style={{ height: `${windowHeight}px` }}
7070
>
7171
<div
72-
className="react-fullpage__scrollbar__container"
72+
className="react-fullpage__scrollbar-container"
7373
style={{ height: `${windowHeight}px` }}
7474
>
7575
<button
7676
type="button"
7777
ref={handler}
78-
className={`react-fullpage__scrollbar__handler ${
78+
className={`react-fullpage__scrollbar-handler ${
7979
isMousePressed && 'is-pressed'
8080
}`}
8181
style={{ top: `${handlerTop}%`, height: `${handlerHeight}%` }}

0 commit comments

Comments
 (0)