From 4495969d7f32fd47ce846237f6849d84e1903311 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 2 May 2023 09:22:37 +0900 Subject: [PATCH] Update MkInput.vue --- packages/frontend/src/components/MkInput.vue | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/packages/frontend/src/components/MkInput.vue b/packages/frontend/src/components/MkInput.vue index 85c817441..da6c33812 100644 --- a/packages/frontend/src/components/MkInput.vue +++ b/packages/frontend/src/components/MkInput.vue @@ -2,7 +2,7 @@
-
+
@@ -233,6 +233,12 @@ onMounted(() => { padding: 0 12px; font-size: 1em; height: v-bind("height + 'px'"); + min-width: 16px; + max-width: 150px; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + box-sizing: border-box; pointer-events: none; &:empty { @@ -249,16 +255,6 @@ onMounted(() => { right: 0; padding-left: 6px; } - -.prefixOrSuffixText { - display: inline-block; - min-width: 16px; - max-width: 150px; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; -} - .save { margin: 8px 0 0 0; }