updated last code | 10

temp
mahdi andalib 2 years ago
parent 4da68738bd
commit f9dc4fd68c
  1. 6
      src/views/Products/layouts/Desktop/Main.js

@ -240,7 +240,7 @@ export const Main = ({
</div> </div>
)} )}
{books.length > 0 && ( {books.length > 0 && (
<div className="relative w-full" style={{ direction: "ltr" }}> <div className="relative w-full mt-7" style={{ direction: "ltr" }}>
<Carousel <Carousel
show={Math.round(window.innerWidth / 666)} show={Math.round(window.innerWidth / 666)}
slide={2} slide={2}
@ -249,7 +249,7 @@ export const Main = ({
transition={0.5} transition={0.5}
rightArrow={ rightArrow={
<img <img
className="bg-gray-50 p-2 absolute top-0 transform -rotate-90 translate-y-0 translate-x-0 left-6 cursor-pointer" className="bg-gray-50 p-2 absolute top-0 transform -rotate-90 -translate-y-5 translate-x-12 left-6 cursor-pointer"
src={dropdownIcon} src={dropdownIcon}
style={{ style={{
borderRight: "solid 2px #E5E7EB", borderRight: "solid 2px #E5E7EB",
@ -262,7 +262,7 @@ export const Main = ({
} }
leftArrow={ leftArrow={
<img <img
className="bg-gray-50 p-2 absolute top-0 transform rotate-90 translate-y-0 translate-x-0 left-0 cursor-pointer" className="bg-gray-50 p-2 absolute top-0 transform rotate-90 -translate-y-5 translate-x-12 left-0 cursor-pointer"
src={dropdownIcon} src={dropdownIcon}
style={{ style={{
borderRight: "solid 2px #E5E7EB", borderRight: "solid 2px #E5E7EB",

Loading…
Cancel
Save