Fix size of chessboard following container
[xogo.git] / common.css
index fbf0e25..e9bf31c 100644 (file)
@@ -37,7 +37,10 @@ main > div {
   margin-top: 25vh;
   min-height: 500px;
   min-width: 320px;
-  max-width: 800px; /*useful for rules display only*/
+}
+
+#gameInfos {
+  max-width: 800px;
 }
 
 @media(max-height: 800px) {
@@ -58,6 +61,11 @@ main > div {
 }
 
 #boardContainer {
+  position: fixed;
+  width: 100%;
+  height: 100%;
+  left: 0;
+  top: 0;
   margin: 0;
   padding: 0;
   border: none;