Skip to content

Commit

Permalink
Jamie model configuration table input fix (#1447)
Browse files Browse the repository at this point in the history
Co-authored-by: blanchco <[email protected]>
  • Loading branch information
jamiewaese-uncharted and blanchco authored Jul 14, 2023
1 parent 15df2f4 commit 1086b5f
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
cellEditStates[i].name = false;
updateModelConfigValue(i);
"
class="cell-input"
/>
</td>
<td
Expand Down Expand Up @@ -91,6 +92,7 @@
cellEditStates[i].initials[j] = false;
updateModelConfigValue(i);
"
class="cell-input"
/>
</td>
<td
Expand Down Expand Up @@ -125,6 +127,7 @@
cellEditStates[i].parameters[j] = false;
updateModelConfigValue(i);
"
class="cell-input"
/>
</td>
</tr>
Expand Down Expand Up @@ -405,12 +408,20 @@ onMounted(() => {
visibility: hidden;
}
.cell-input {
width: calc(100%);
height: 4rem;
}
.editable-cell {
display: flex;
justify-content: space-between;
align-items: center;
min-width: 3rem;
}
td:has(.cell-input) {
padding: 2px !important;
max-width: 4rem;
}
.p-datatable:deep(td) {
cursor: pointer;
Expand Down

0 comments on commit 1086b5f

Please sign in to comment.