refactor: minor input stylings

This commit is contained in:
liyasthomas
2021-07-10 23:38:35 +05:30
parent d94c8aec51
commit 2e092d34a6
7 changed files with 294 additions and 269 deletions

View File

@@ -3,7 +3,15 @@
<input
ref="acInput"
v-model="text"
class="input"
class="
px-4
py-3
text-xs
flex flex-1
font-semibold
bg-primaryLight
focus:outline-none
"
type="text"
:placeholder="placeholder"
:spellcheck="spellcheck"
@@ -187,6 +195,8 @@ export default {
<style scoped lang="scss">
.autocomplete-wrapper {
@apply relative;
@apply flex;
@apply flex-1;
input:focus + ul.suggestions,
ul.suggestions:hover {
@@ -209,7 +219,7 @@ export default {
@apply w-full;
@apply block;
@apply py-2 px-4;
@apply text-sm;
@apply text-xs;
@apply font-mono;
&:last-child {