From 69f6342045daf7fda808dc2f9444434e979a358f Mon Sep 17 00:00:00 2001 From: "remi.regnault" Date: Tue, 21 May 2024 18:16:36 +0200 Subject: [PATCH] :construction: increasing padding left-right in HistoricView --- .../DouShouQi_App/Views/Game/HistoricView.swift | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/DouShouQi_App/DouShouQi_App/Views/Game/HistoricView.swift b/DouShouQi_App/DouShouQi_App/Views/Game/HistoricView.swift index e07110f..ece39a7 100644 --- a/DouShouQi_App/DouShouQi_App/Views/Game/HistoricView.swift +++ b/DouShouQi_App/DouShouQi_App/Views/Game/HistoricView.swift @@ -12,11 +12,15 @@ struct HistoricView: View { VStack { TitlePageFrame(Text: "Historic", ImageWidth: 200, ImageHeight: 200) - GameResumeFrame(Player1Name: "Remi", Player2Name: "Nathan", Status: "Winner: Nathan") - GameResumeFrame(Player1Name: "Rayhan", Player2Name: "Nathan", Status: "Winner: Nathan") - GameResumeFrame(Player1Name: "Rayhan", Player2Name: "Rémi", Status: "Draw") + VStack { + GameResumeFrame(Player1Name: "Remi", Player2Name: "Nathan", Status: "Winner: Nathan") + GameResumeFrame(Player1Name: "Rayhan", Player2Name: "Nathan", Status: "Winner: Nathan") + GameResumeFrame(Player1Name: "Rayhan", Player2Name: "Rémi", Status: "Draw") + } + .padding(.horizontal, 10) Spacer() + } } }