diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-07-22 04:44:31 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-07-22 04:44:31 +0900 |
| commit | 14bbc483fdb338c8e55e77f267ecf0d51415549b (patch) | |
| tree | 6e9130c2c1f76da25c825090bb59220ecf60d971 /frontend/src/routes/golf/watch/apps/Gaming.tsx | |
| parent | d3107cdf9bafbebc4a9cdd6ab91869f8086b3246 (diff) | |
| download | phperkaigi-2025-albatross-14bbc483fdb338c8e55e77f267ecf0d51415549b.tar.gz phperkaigi-2025-albatross-14bbc483fdb338c8e55e77f267ecf0d51415549b.tar.zst phperkaigi-2025-albatross-14bbc483fdb338c8e55e77f267ecf0d51415549b.zip | |
prettier
Diffstat (limited to 'frontend/src/routes/golf/watch/apps/Gaming.tsx')
| -rw-r--r-- | frontend/src/routes/golf/watch/apps/Gaming.tsx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/frontend/src/routes/golf/watch/apps/Gaming.tsx b/frontend/src/routes/golf/watch/apps/Gaming.tsx index a17b71e..623cb08 100644 --- a/frontend/src/routes/golf/watch/apps/Gaming.tsx +++ b/frontend/src/routes/golf/watch/apps/Gaming.tsx @@ -10,25 +10,25 @@ type Props = { export default ({ problem, scoreA, codeA, scoreB, codeB }: Props) => { return ( <> - <div style={{ display: 'flex', flexDirection: 'column' }}> - <div style={{ display: 'flex', flex: 1, justifyContent: 'center' }}> + <div style={{ display: "flex", flexDirection: "column" }}> + <div style={{ display: "flex", flex: 1, justifyContent: "center" }}> {problem} </div> - <div style={{ display: 'flex', flex: 3 }}> - <div style={{ display: 'flex', flex: 3, flexDirection: 'column' }}> - <div style={{ flex: 1, justifyContent: 'center' }}> - {scoreA} - </div> + <div style={{ display: "flex", flex: 3 }}> + <div style={{ display: "flex", flex: 3, flexDirection: "column" }}> + <div style={{ flex: 1, justifyContent: "center" }}>{scoreA}</div> <div style={{ flex: 3 }}> - <pre><code>{codeA}</code></pre> + <pre> + <code>{codeA}</code> + </pre> </div> </div> - <div style={{ display: 'flex', flex: 3, flexDirection: 'column' }}> - <div style={{ flex: 1, justifyContent: 'center' }}> - {scoreB} - </div> + <div style={{ display: "flex", flex: 3, flexDirection: "column" }}> + <div style={{ flex: 1, justifyContent: "center" }}>{scoreB}</div> <div style={{ flex: 3 }}> - <pre><code>{codeB}</code></pre> + <pre> + <code>{codeB}</code> + </pre> </div> </div> </div> |
