handle overflow in cells
This commit is contained in:
parent
66c3d65f2b
commit
e69a279eec
|
@ -122,6 +122,8 @@ html, #board, [draggable], .tile {
|
|||
display:inline-block;
|
||||
white-space:pre-wrap;
|
||||
font-size:7px;
|
||||
text-overflow:ellipsis;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
#center-cell .special-cell-label {
|
||||
|
@ -186,8 +188,10 @@ button {
|
|||
}
|
||||
|
||||
#board td {
|
||||
width:32px;
|
||||
height:32px;
|
||||
width: 32px;
|
||||
max-width:32px;
|
||||
max-height:32px;
|
||||
}
|
||||
|
||||
#rack .tile-placeholder {
|
||||
|
|
|
@ -1491,7 +1491,7 @@
|
|||
cell.firstChild.appendChild(document.createElement("span"));
|
||||
cell.classList.add("special-cell");
|
||||
cell.classList.add("special-cell-" + type);
|
||||
cell.lastChild.lastChild.textContent = _(specialTypesText[type]);
|
||||
cell.lastChild.lastChild.textContent = cell.title = _(specialTypesText[type]);
|
||||
cell.lastChild.lastChild.className = "special-cell-label";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue