fix: input in search champions: ripple color + placeholder weight

This commit is contained in:
Valentin Kaelin 2019-12-23 00:37:44 +01:00
parent 23943e115b
commit a8b49a6548
2 changed files with 8 additions and 1 deletions

View file

@ -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: {

View file

@ -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>