Compare commits

..

2 Commits

Author SHA1 Message Date
Lykin dbe3d995b4 chore: update text 2024-04-03 17:34:40 +08:00
Lykin 8ab82534e1 fix: search input box length overflow (#217) 2024-04-03 14:58:54 +08:00
6 changed files with 24 additions and 12 deletions

View File

@ -100,7 +100,7 @@ defineExpose({
</script>
<template>
<n-input-group>
<n-input-group style="overflow: hidden">
<slot name="prepend" />
<n-input
v-model:value="inputData.filter"
@ -175,10 +175,22 @@ defineExpose({
</template>
<style lang="scss" scoped>
//:deep(.n-input__prefix) {
// max-width: 50%;
//}
//:deep(.n-tag__content) {
// overflow: hidden;
//}
:deep(.n-input) {
width: 100%;
overflow: hidden;
}
:deep(.n-input__prefix) {
max-width: 50%;
& > div {
overflow: hidden;
text-overflow: ellipsis;
}
}
:deep(.n-tag__content) {
overflow: hidden;
max-width: 100%;
}
</style>

View File

@ -335,7 +335,7 @@ defineExpose({
<div class="content-wrapper flex-box-v">
<slot name="toolbar" />
<div class="tb2 value-item-part flex-box-h">
<div class="flex-box-h">
<div class="flex-box-h" style="max-width: 50%">
<content-search-input
ref="searchInputRef"
@filter-changed="onFilterInput"

View File

@ -309,7 +309,7 @@ defineExpose({
<div class="content-wrapper flex-box-v">
<slot name="toolbar" />
<div class="tb2 value-item-part flex-box-h">
<div class="flex-box-h">
<div class="flex-box-h" style="max-width: 50%">
<content-search-input
ref="searchInputRef"
@filter-changed="onFilterInput"

View File

@ -306,7 +306,7 @@ defineExpose({
<div class="content-wrapper flex-box-v">
<slot name="toolbar" />
<div class="tb2 value-item-part flex-box-h">
<div class="flex-box-h">
<div class="flex-box-h" style="max-width: 50%">
<content-search-input
ref="searchInputRef"
@filter-changed="onFilterInput"

View File

@ -341,7 +341,7 @@ defineExpose({
<div class="content-wrapper flex-box-v">
<slot name="toolbar" />
<div class="tb2 value-item-part flex-box-h">
<div class="flex-box-h">
<div class="flex-box-h" style="max-width: 50%">
<content-search-input
ref="searchInputRef"
@filter-changed="onFilterInput"

View File

@ -142,7 +142,7 @@
"remove_key": "Remove Key",
"new_key": "New Key",
"load_more": "Load More Keys",
"load_all": "Load All Left Keys",
"load_all": "Load Remaining Keys",
"load_more_entries": "Load More",
"load_all_entries": "Load All",
"more_action": "More Actions",