From b4853af69d5f5cd89839633ae3492bed48e97c96 Mon Sep 17 00:00:00 2001 From: alexm Date: Fri, 12 Jul 2024 08:33:06 +0200 Subject: [PATCH] fix(VnTable): max-width vn-select --- src/components/VnTable/VnTable.vue | 1 - src/css/app.scss | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/VnTable/VnTable.vue b/src/components/VnTable/VnTable.vue index 665623755..762c9602d 100644 --- a/src/components/VnTable/VnTable.vue +++ b/src/components/VnTable/VnTable.vue @@ -370,7 +370,6 @@ defineExpose({ :data-key="$attrs['data-key']" v-model="params[columnName(col)]" :search-url="searchUrl" - style="max-width: 128px" /> diff --git a/src/css/app.scss b/src/css/app.scss index c1298aead..01bf0e579 100644 --- a/src/css/app.scss +++ b/src/css/app.scss @@ -233,6 +233,11 @@ input::-webkit-inner-spin-button { .q-table { thead, tbody { + th { + .q-select { + max-width: 100px; + } + } td { padding: 1px 10px 1px 10px; max-width: 100px;