From aaac8f1912de394782629a5b33056bfd9c29f68d Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 6 Dec 2022 13:52:25 +0100 Subject: [PATCH] Fix design of Connect4 board --- src/index.html | 30 ++++++++++++++++++++++++++++++ src/styles/style.css | 6 +++--- 2 files changed, 33 insertions(+), 3 deletions(-) diff --git a/src/index.html b/src/index.html index 6dcee83..9704a97 100644 --- a/src/index.html +++ b/src/index.html @@ -16,6 +16,7 @@
+
@@ -24,6 +25,35 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/src/styles/style.css b/src/styles/style.css index 50b81a4..fba8b05 100644 --- a/src/styles/style.css +++ b/src/styles/style.css @@ -12,11 +12,11 @@ div { border: 1px solid black; width: 12vw; height: 12vw; - display: none; + float: left; } -.board .field:first-child { - display: block; +.board .row .field:first-child { + clear: both; } .board .field .piece {