Skip to content

Commit 59485a4

Browse files
authored
Merge pull request #100 from cniajp/fix/bg-white
Fix/bg white
2 parents d0fdea8 + f669359 commit 59485a4

File tree

8 files changed

+17
-4
lines changed

8 files changed

+17
-4
lines changed

src/components/ObsSceneGenerate.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ function createBrowserSource(
7070
shutdown: shutdown,
7171
restart_when_active: restart,
7272
reroute_audio: true,
73+
css: 'body { background-color: rgba(255, 255, 255, 1); margin: 0px auto; overflow: hidden; }',
7374
},
7475
mixers: 255,
7576
sync: 0,

src/components/Page1.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ function Side({ view }: Props) {
108108
.talksInSameTrack()
109109
.filter((t) => t.talkCategory === 'Keynote' && t.startTime > talkStartTime)
110110
return (
111-
<div className="p-14 h-[80%] overflow-y-auto">
111+
<div className="p-14 h-[80%] overflow-y-auto hidden-scrollbar">
112112
{hasKeynote && (
113113
<div className="text-right w-[750px] bg-COLOR-TIMETABLE-Box px-3 pt-1 pb-2 my-3 font-ryo-gothic-plusn">
114114
<div className="flex flex-row">

src/pages/break-dk/menu/[confDay].tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import '@/pages/globals-sub.css'
12
import { useGetTalksAndTracksForMenu } from '@/components/hooks/useGetTalksAndTracks'
23
import { MenuView } from '@/components/models/talkView'
34
import config, { extendConfig } from '@/config'

src/pages/break-dk/talks/[talkId].tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ function Pages() {
103103
<div className="absolute inset-0">{pages[current]}</div>
104104
)}
105105
</div>
106-
<div className="w-[1280px] h-[300px] bg-black relative"></div>
107106
</>
108107
)
109108
}

src/pages/break/menu/[confDay].tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import '@/pages/globals-sub.css'
12
import { MenuView } from '@/components/models/talkView'
23
import config, { extendConfig } from '@/config'
34
import type { Talk } from '@/data/types'

src/pages/break/talks/[talkId].tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ function Pages() {
107107
<div className="absolute inset-0">{pages[current]}</div>
108108
)}
109109
</div>
110-
<div className="w-[1280px] h-[300px] bg-black relative"></div>
111110
</>
112111
)
113112
}

src/pages/globals-sub.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
body {
2+
background: rgb(0, 0, 0);
3+
}

src/pages/globals.css

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,16 @@
33
@tailwind utilities;
44

55
body {
6-
background: rgb(0, 0, 0);
6+
background: rgb(255, 255, 255);
7+
}
8+
9+
.hidden-scrollbar {
10+
-ms-overflow-style: none; /* IE, Edge 対応 */
11+
scrollbar-width: none; /* Firefox 対応 */
12+
}
13+
.hidden-scrollbar::-webkit-scrollbar {
14+
/* Chrome, Safari 対応 */
15+
display: none;
716
}
817

918
/* ローディング用CSSアニメーション */

0 commit comments

Comments
 (0)