mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-01 23:17:46 +00:00
style: Fine-tune the search box style
This commit is contained in:
@@ -28,6 +28,7 @@
|
|||||||
ref="SearchInput"
|
ref="SearchInput"
|
||||||
v-model="filterValue"
|
v-model="filterValue"
|
||||||
class="search-input"
|
class="search-input"
|
||||||
|
:class="options.length > 0 ? '' : 'no-options'"
|
||||||
:placeholder="placeholder"
|
:placeholder="placeholder"
|
||||||
:suffix-icon="suffixIcon"
|
:suffix-icon="suffixIcon"
|
||||||
:validate-event="false"
|
:validate-event="false"
|
||||||
@@ -445,6 +446,10 @@ $origin-white-color: #ffffff;
|
|||||||
padding-left: 1px;
|
padding-left: 1px;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.no-options {
|
||||||
|
padding-left: 15px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.keydown-focus {
|
.keydown-focus {
|
||||||
|
@@ -103,16 +103,9 @@ export default {
|
|||||||
headerActions: {
|
headerActions: {
|
||||||
hasLeftActions: false,
|
hasLeftActions: false,
|
||||||
hasExport: false,
|
hasExport: false,
|
||||||
hasImport: false,
|
hasImport: false
|
||||||
onCreate: () => {
|
|
||||||
this.uploadDialogVisible = true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
|
||||||
|
|
||||||
</style>
|
|
||||||
|
@@ -28,7 +28,3 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
|
|
||||||
</style>
|
|
||||||
|
Reference in New Issue
Block a user