diff --git a/packages/frontend/src/components/MkInput.vue b/packages/frontend/src/components/MkInput.vue
index 85c8174410..da6c338123 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;
}