Skip to content

Commit d0ea48e

Browse files
committed
[FE-101] 共有されたストーリー表示で、ページの上から表示されるようにされるようにする
1 parent 2bbf86e commit d0ea48e

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

frontend/src/Board/Components/MessageBubble.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,4 @@
122122
/* Adjust padding */
123123
font-size: 14px;
124124
}
125-
}
125+
}

frontend/src/Board/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function Board() {
5959

6060
// スクロール制御用の参照
6161
const messagesAreaRef = useRef<HTMLDivElement>(null);
62-
const isAtBottomRef = useRef(true);
62+
const isAtBottomRef = useRef(false);
6363
// 二重フェッチ防止用
6464
const hasFetchedRef = useRef(false);
6565

frontend/src/Solo/Components/MessageBubble.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,4 @@
112112
/* Adjust padding */
113113
font-size: 14px;
114114
}
115-
}
115+
}

frontend/src/Solo/Solo.css

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@
209209
}
210210

211211
@keyframes floating-text {
212-
213212
0%,
214213
100% {
215214
transform: translateY(0);
@@ -221,7 +220,6 @@
221220
}
222221

223222
@keyframes bounce {
224-
225223
0%,
226224
100% {
227225
transform: scale(1) translateY(0);
@@ -402,4 +400,4 @@
402400
width: 30px;
403401
height: 30px;
404402
}
405-
}
403+
}

0 commit comments

Comments
 (0)