Fix center issue
This commit is contained in:
@@ -77,11 +77,24 @@ input[type=color] {
|
|||||||
/* Table elements */
|
/* Table elements */
|
||||||
table {
|
table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
display: table;
|
||||||
|
}
|
||||||
|
|
||||||
|
tbody {
|
||||||
|
display: table-row-group;
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
tr {
|
||||||
|
display: table-row;
|
||||||
|
width: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
td, th {
|
td, th {
|
||||||
border: 1px solid white;
|
border: 1px solid white;
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
|
display: table-cell;
|
||||||
|
width: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
th {
|
th {
|
||||||
@@ -114,6 +127,10 @@ tr:hover {
|
|||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.center > :not(table) {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
.center canvas {
|
.center canvas {
|
||||||
border: 5px solid black;
|
border: 5px solid black;
|
||||||
}
|
}
|
||||||
|
@@ -7,9 +7,9 @@
|
|||||||
height: max-content;
|
height: max-content;
|
||||||
border-radius: $radius;
|
border-radius: $radius;
|
||||||
|
|
||||||
* {
|
* { margin: auto;}
|
||||||
margin: auto;
|
|
||||||
}
|
&>:not(table){ display: block;}
|
||||||
|
|
||||||
canvas {
|
canvas {
|
||||||
border: 5px solid black;
|
border: 5px solid black;
|
||||||
|
@@ -94,11 +94,24 @@ input[type=submit] {
|
|||||||
|
|
||||||
table {
|
table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
display: table;
|
||||||
|
}
|
||||||
|
|
||||||
|
tbody {
|
||||||
|
display: table-row-group;
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
tr {
|
||||||
|
display: table-row;
|
||||||
|
width: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
td, th {
|
td, th {
|
||||||
border: 1px solid $border-color;
|
border: 1px solid $border-color;
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
|
display: table-cell;
|
||||||
|
width: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
th {
|
th {
|
||||||
|
Reference in New Issue
Block a user