Skip to content

Commit

Permalink
Merge pull request #360 from ReDI-School/fix/prodCard
Browse files Browse the repository at this point in the history
Change shadow effect in the HeaderUserMenu and import in the ProductCard
  • Loading branch information
006080 authored Dec 8, 2024
2 parents c545fcd + 994c9cc commit b9f76a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/HeaderUserMenu/HeaderUserMenu.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
top: 50px;
right: 0;
background-color: #ffffff;
box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1);
box-shadow: rgba(0, 0, 0, 0.2) 0px 6px 20px;
border-radius: 15px;
overflow: hidden;
z-index: 1002;
Expand Down
4 changes: 3 additions & 1 deletion src/components/ProductCard/ProductCard.jsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import { useEffect, useState } from "react";
import styles from "./ProductCard.module.css";
import { Link } from "react-router-dom";

const ProductCard = ({
images = [],
children,
onClick,
modalIsVisible,
setModalIsVisible
setModalIsVisible,
linkTo
}) => {
const [currentImageIndex, setCurrentImageIndex] = useState(0);
const [hovered, setHovered] = useState(false);
Expand Down

0 comments on commit b9f76a7

Please sign in to comment.