make the query name input field automatically adjust its width to match the text length

This commit is contained in:
MaysWind
2025-12-27 23:54:20 +08:00
parent e252378898
commit 28337ae228
3 changed files with 70 additions and 3 deletions
+4
View File
@@ -108,6 +108,8 @@ import AccountBalanceTrendsChart from '@/components/desktop/AccountBalanceTrends
import AccountAndCategorySankeyChart from '@/components/desktop/AccountAndCategorySankeyChart.vue';
import SwitchToMobileDialog from '@/components/desktop/SwitchToMobileDialog.vue';
import TextFieldAutoWidth from '@/directives/desktop/textfieldAutoWidth.ts';
import '@/styles/desktop/template/vuetify/index.scss';
import '@/styles/desktop/template/template/index.scss';
import '@/styles/desktop/template/layout/index.scss';
@@ -550,4 +552,6 @@ app.component('AccountBalanceTrendsChart', AccountBalanceTrendsChart);
app.component('AccountAndCategorySankeyChart', AccountAndCategorySankeyChart);
app.component('SwitchToMobileDialog', SwitchToMobileDialog);
app.directive('TextFieldAutoWidth', TextFieldAutoWidth);
app.mount('#app');