diff --git a/src/App.css b/src/App.css index 357ecd2..2cedfee 100644 --- a/src/App.css +++ b/src/App.css @@ -1,3 +1,7 @@ +body { + overflow: hidden; + } + table { border: 1px solid black; } @@ -5,4 +9,13 @@ table { table th, table td { border: 1px solid black; /* 設置列邊框寬度和顏色 */ +} + +.td_team { + width: 18rem; + display: flex; +} + +.team { + width: 4rem; } \ No newline at end of file diff --git a/src/App.tsx b/src/App.tsx index ac55bc2..e56cfd6 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -109,7 +109,13 @@ export default function App() { return {dayjs(value.time * 1000).format("YYYY-MM-DD HH:mm:ss")} {score[0]}:{score[1]} - {team[0][0].padEnd(5, " ")}{team[0][1].padEnd(5, " ")} vs   {team[1][0].padEnd(5, " ")}{team[1][1]} + + {{team[0][0]}} + {{team[0][1]}} + {vs} + {{team[1][0]}} + {{team[1][1]}} + onClickPlay(value)}>詳細