reza pushed navbar

master
Reza_ashrafi 3 years ago
commit d25d614211
  1. 2
      src/components/Search/index.js
  2. 2
      src/components/SidebarCategoryHover/list.js
  3. 2
      src/components/search-with-suggest/index.js

@ -21,7 +21,7 @@ export default function Search(props) {
<input <input
type="search" type="search"
name="q" name="q"
className="w-full py-3 text-sm text-white border rounded-md pr-5 outline-none focus:ring-1 focus:text-gray-900" className="w-full py-3 text-sm text-white border rounded-md pr-5 pl-14 outline-none focus:ring-1 focus:text-gray-900 "
placeholder={_.join([langDetector(props.lang , "جستجو...", "Search...")], " ")} placeholder={_.join([langDetector(props.lang , "جستجو...", "Search...")], " ")}
autoComplete="off" autoComplete="off"
/> />

@ -1,6 +1,6 @@
import React, { useState, useEffect } from "react"; import React, { useState, useEffect } from "react";
import _, { set } from "lodash"; import _, { set } from "lodash";
import Col from "./col"; import Col from "./Col";
export default function List({ activeItem, item, setActiveItem, colLength }) { export default function List({ activeItem, item, setActiveItem, colLength }) {
const [cols, setCols] = useState(null); const [cols, setCols] = useState(null);

@ -24,7 +24,7 @@ export default function PopularSearch(props) {
> >
<input <input
type="search" type="search"
className="transition py-2 pr-4 pl-2 mx-0 border rounded-md outline-none focus:ring-1 placeholder-gray-500 placeholder-opacity-40 focus:placeholder-blue-300" className="transition py-2 pr-4 pl-14 mx-0 border rounded-md outline-none focus:ring-1 placeholder-gray-500 placeholder-opacity-40 focus:placeholder-blue-300"
onChange={(e) => onChange(e.target.value)} onChange={(e) => onChange(e.target.value)}
value={value} value={value}
placeholder={langDetector( placeholder={langDetector(

Loading…
Cancel
Save