Skip to content

Commit 88d12d8

Browse files
committed
Add placeholder for input
1 parent d9723d1 commit 88d12d8

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

public/css/app.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1656,6 +1656,10 @@ video {
16561656
transition-duration: 300ms;
16571657
}
16581658

1659+
.duration-1000 {
1660+
transition-duration: 1000ms;
1661+
}
1662+
16591663
.ease-in-out {
16601664
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
16611665
}

resources/js/components/Header/Search.vue

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
<template>
1+
<template>
22
<input
33
class="w-full px-3 py-2 my-2 border-2 border-gray-300 rounded-md text-sm focus:border-blue-500 focus:outline-none transition-all duration-300"
4-
type="text"
5-
v-model="searchTerm"
6-
placeholder="Search"
7-
>
4+
type="text" v-model="searchTerm" placeholder="Search">
5+
86
<div v-if="data && data.length > 0 && searchTerm.length > 0">
97
<div
108
class="flex justify-center absolute bg-white left-0 right-0 h-auto mx-auto py-16 px-8 shadow-md overflow-y-auto overflow-x-hidden scrolling-touch z-50 max-w-screen-md">

0 commit comments

Comments
 (0)