Use visibility hidden and fixed layout of the table
authorJaroslav Tulach <jaroslav.tulach@apidesign.org>
Tue, 26 Aug 2014 15:22:31 +0200
changeset 199b3c1d99205d6
parent 194 a22630be439e
child 200 6227a7cc4bf8
Use visibility hidden and fixed layout of the table
minesweeper/pom.xml
minesweeper/src/main/webapp/pages/mines.css
     1.1 --- a/minesweeper/pom.xml	Wed Aug 06 07:59:27 2014 +0200
     1.2 +++ b/minesweeper/pom.xml	Tue Aug 26 15:22:31 2014 +0200
     1.3 @@ -286,7 +286,7 @@
     1.4                <dependency>
     1.5                    <groupId>org.apidesign.brwsr</groupId>
     1.6                    <artifactId>dlvkbrwsr</artifactId>
     1.7 -                  <version>0.8.1</version>
     1.8 +                  <version>1.0-SNAPSHOT</version>
     1.9                    <type>jar</type>
    1.10                </dependency>
    1.11                <dependency>
    1.12 @@ -476,7 +476,7 @@
    1.13                <dependency>
    1.14                    <groupId>org.apidesign.brwsr</groupId>
    1.15                    <artifactId>ibrwsr</artifactId>
    1.16 -                  <version>0.8.1</version>
    1.17 +                  <version>0.8.3</version>
    1.18                    <scope>runtime</scope>
    1.19                </dependency>
    1.20            </dependencies>
     2.1 --- a/minesweeper/src/main/webapp/pages/mines.css	Wed Aug 06 07:59:27 2014 +0200
     2.2 +++ b/minesweeper/src/main/webapp/pages/mines.css	Tue Aug 26 15:22:31 2014 +0200
     2.3 @@ -33,6 +33,10 @@
     2.4      background-color: #fafafa;
     2.5  }
     2.6  
     2.7 +table {
     2.8 +    table-layout: fixed;
     2.9 +}
    2.10 +
    2.11  table.field {
    2.12  }
    2.13  table.field td {
    2.14 @@ -106,6 +110,7 @@
    2.15  
    2.16  table.PLAYING td.UNKNOWN div::after {
    2.17      content: "\0026a0";
    2.18 +    visibility: hidden;
    2.19  }
    2.20  table.field td.EXPLOSION div::after {
    2.21      content: "\002717";
    2.22 @@ -118,8 +123,7 @@
    2.23  }
    2.24  table.field td.N_0 div::after {
    2.25      content: "\0026a0";
    2.26 -    background-color: white;
    2.27 -    color: white;
    2.28 +    visibility: hidden;
    2.29  }
    2.30  table.field td.N_1 div::after {
    2.31      content: "\002780";