mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 21:07:27 +00:00
fix: input in search champions: ripple color + placeholder weight
This commit is contained in:
parent
23943e115b
commit
a8b49a6548
2 changed files with 8 additions and 1 deletions
|
|
@ -44,6 +44,12 @@ export default {
|
|||
const height = this.$refs.container.offsetHeight
|
||||
this.rippleWidth = width > height ? width : height
|
||||
this.halfRippleWidth = this.rippleWidth / 2
|
||||
|
||||
window.addEventListener('mouseup', this.purgeRipples)
|
||||
},
|
||||
|
||||
beforeDestroy() {
|
||||
window.removeEventListener('mouseup', this.purgeRipples)
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<Ripple color="rgba(44, 82, 130, 0.7)" class="relative inline-block rounded-lg bg-blue">
|
||||
<Ripple color="rgba(43, 108, 176, 0.7)" class="relative inline-block rounded-lg">
|
||||
<input
|
||||
v-model="championName"
|
||||
@input="search"
|
||||
|
|
@ -38,5 +38,6 @@ export default {
|
|||
<style scoped>
|
||||
.input-color::placeholder {
|
||||
color: #fff;
|
||||
font-weight: 300;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in a new issue