resize table for entropy

This commit is contained in:
Tykayn 2021-02-10 12:19:22 +01:00 committed by tykayn
parent ddf5b40ef4
commit e32db4983d
2 changed files with 8 additions and 3 deletions

View File

@ -138,7 +138,7 @@
<tbody></tbody>
<tr>
<td>{{ getEntropy(plainText).toFixed(3) }}</td>
<td>{{ plainText }}</td>
<td><input type="text" [(ngModel)]="plainText" (ngModelChange)="encrypt(plainText)" /></td>
</tr>
<tr>
<td>{{ getEntropy(simpleCipheredText).toFixed(3) }}</td>

View File

@ -26,12 +26,17 @@
margin-top: 1em;
}
table {
width: 100%;
display: block;
}
.entropy {
.limited-text {
max-width: 50% !important;
overflow: scroll;
overflow-x: hidden;
text-overflow: ellipsis;
height: 2em;
height: 4em;
padding: 1em;
display: block;
}
}