From b41026806fd434ecc73f2694d29232738258ac7e Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Mon, 30 Sep 2024 12:48:05 +0200 Subject: [PATCH] style: refs #7404 compress spaces --- src/components/common/VnInput.vue | 22 ++++++++++++++++------ src/components/common/VnSelect.vue | 3 +++ src/components/ui/VnRow.vue | 1 + src/css/app.scss | 3 +++ 4 files changed, 23 insertions(+), 6 deletions(-) diff --git a/src/components/common/VnInput.vue b/src/components/common/VnInput.vue index ce7918eda..e518479b5 100644 --- a/src/components/common/VnInput.vue +++ b/src/components/common/VnInput.vue @@ -145,24 +145,34 @@ const mixinRules = [ .q-field--outlined .q-field__append.q-field__marginal.row.no-wrap.items-center.row { height: auto; } +.q-field__control { + height: unset; +} +.q-field__control.relative-position.row.no-wrap + > .q-field__control-container + > input.q-field__native + ~ div.q-field__label { + height: 41px; +} .q-field__control, .q-select--with-input { /* color: var(--q-primary); */ // margin-bottom: 10px; - height: 23px; + // height: 23px; /* max-width: 100%; */ /* outline: none; */ } -// .q-field--labeled .q-field__native, -// .q-field--labeled .q-field__prefix, -// .q-field--labeled .q-field__suffix { -// padding-bottom: 0; -// } +.q-field--labeled .q-field__native, +.q-field--labeled .q-field__prefix, +.q-field--labeled .q-field__suffix { + padding-bottom: 0; +} .q-field__native, .q-field__prefix, .q-field__suffix, .q-field__input { padding: 0; + min-height: 15px; } // .q-field__append.q-field__marginal.row.no-wrap.items-center.q-anchor--skip { // display: flex; diff --git a/src/components/common/VnSelect.vue b/src/components/common/VnSelect.vue index bd505ed29..15d3a9524 100644 --- a/src/components/common/VnSelect.vue +++ b/src/components/common/VnSelect.vue @@ -286,6 +286,9 @@ const getVal = (val) => ($props.useLike ? { like: `%${val}%` } : val); .q-field__inner { .q-field__control { min-height: auto !important; + + display: flex; + align-items: flex-end; .q-field__native.row { min-height: auto !important; } diff --git a/src/components/ui/VnRow.vue b/src/components/ui/VnRow.vue index 16bcfab7d..0df1fb7d4 100644 --- a/src/components/ui/VnRow.vue +++ b/src/components/ui/VnRow.vue @@ -9,6 +9,7 @@ defineProps({ wrap: { type: Boolean, default: false } });