style: Fine-tune the search box style

This commit is contained in:
zhaojisen 2024-07-02 14:37:40 +08:00
parent 6d72a5af4a
commit 2690f1904b
3 changed files with 6 additions and 12 deletions

View File

@ -28,6 +28,7 @@
ref="SearchInput"
v-model="filterValue"
class="search-input"
:class="options.length > 0 ? '' : 'no-options'"
:placeholder="placeholder"
:suffix-icon="suffixIcon"
:validate-event="false"
@ -445,6 +446,10 @@ $origin-white-color: #ffffff;
padding-left: 1px;
font-size: 13px;
}
&.no-options {
padding-left: 15px;
}
}
.keydown-focus {

View File

@ -103,16 +103,9 @@ export default {
headerActions: {
hasLeftActions: false,
hasExport: false,
hasImport: false,
onCreate: () => {
this.uploadDialogVisible = true
}
hasImport: false
}
}
}
}
</script>
<style>
</style>

View File

@ -28,7 +28,3 @@ export default {
}
}
</script>
<style scoped>
</style>