Firefox issue: Does anyone know how to stop the table cell from shrinking and growing? Type a letter on the line and the cell shrinks (watch the space below the line); delete the letter and the cell grows back.
I tried with a div instead of a span and the cell shrinks but stays shrunk when the content is deleted.
I tried it without Bootstrap and it's the same.
span {
border-width: 0 0 1px !important;
border: 1px solid black;
display: inline-block;
max-width: 225px;
min-width: 175px;
}
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" />
<table id="table" class="table table-bordered table-condensed table-hover">
<tr>
<th>
header
</th>
</tr>
<tr>
<td>
<span contenteditable="true"></span>
</td>
</tr>
</table>