adjust column widths to fit their content

This commit is contained in:
MaysWind
2025-11-23 15:18:40 +08:00
parent 837a62a534
commit 45be96cf68
2 changed files with 30 additions and 2 deletions
@@ -1948,6 +1948,19 @@ defineExpose({
</script>
<style>
.import-transaction-table > .v-table__wrapper > table {
th:not(:last-child),
td:not(:last-child) {
width: auto !important;
white-space: nowrap;
}
th:last-child,
td:last-child {
width: 100% !important;
}
}
.import-transaction-table .v-autocomplete.v-input.v-input--density-compact:not(.v-textarea) .v-field__input,
.import-transaction-table .v-select.v-input.v-input--density-compact:not(.v-textarea) .v-field__input {
min-height: inherit;