center pieces in newt and hold tables

This commit is contained in:
Adrien MALINGREY 2023-12-08 21:21:20 +01:00
parent 228fc56916
commit b726e95bed
2 changed files with 15 additions and 1 deletions

View File

@ -90,6 +90,20 @@ tr.cleared-line-animation {
animation: cleared-line-animation ease-out .3s;
}
#holdTable .J,
#holdTable .L,
#holdTable .S,
#holdTable .T,
#holdTable .Z,
#nextTable .J,
#nextTable .L,
#nextTable .S,
#nextTable .T,
#nextTable .Z {
transform: translateX(50%);
}
#messagesSpan {
position: absolute;
top: 5%;

View File

@ -93,7 +93,7 @@
<div class="card mb-4 w-100">
<div class="card-header text-center"><strong>HOLD</strong></div>
<div class="card-body p-0">
<table id="holdTable" class="minoes-table ms-auto">
<table id="holdTable" class="minoes-table m-auto">
<tr class="buffer-zone"><td></td><td></td><td></td><td></td><td></td><td></td></tr>
<tr class="buffer-zone"><td></td><td></td><td></td><td></td><td></td><td></td></tr>
<tr class="buffer-zone"><td></td><td></td><td></td><td></td><td></td><td></td></tr>