Skip to content

Commit

Permalink
fix mediaquery error
Browse files Browse the repository at this point in the history
  • Loading branch information
aldrinjenson committed Jan 10, 2023
1 parent c50816c commit b2179cc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
7 changes: 5 additions & 2 deletions src/Components/ProjectDetails/ProjectDetails.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React, { useContext, useEffect, useState } from "react";
import "./ProjectDetails.scss";
import { useHistory } from "react-router";
import { ProjectContext } from "../../contexts/ProjectContext";
import { AuthContext } from "../../Firebase/Auth/Auth";
import { doDeleteProject } from "../../Firebase/firebase";
Expand All @@ -14,6 +13,7 @@ import Navigate from "../../assets/Navigate.png";
import ProjectModal from "../ProjectModal/ProjectModal";
import { toast } from "react-toastify";
import DeleteConfirmation from "../DeleteConfirmationModal/DeleteConfirmation";
import { useHistory } from "react-router-dom";

const ProjectDetails = () => {
const { selectedProject, fetchData } = useContext(ProjectContext);
Expand Down Expand Up @@ -343,7 +343,10 @@ export const ProjectDetailMob = ({ setShowProjectDetailsNotList }) => {
}}
></img>
</div>
<div style={{display:"flex",flexWrap:"wrap"}} className="ProjectDetail-tagdivright">
<div
style={{ display: "flex", flexWrap: "wrap" }}
className="ProjectDetail-tagdivright"
>
{selectedProject.tags.map((tag, index) => (
<p
rel="noopener noreferrer"
Expand Down
10 changes: 5 additions & 5 deletions src/Components/ProjectModal/ProjectModal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ width:40rem;
}

}
@media screen and(max-width:984px) {
.photoIcon{
// padding-top: 3.7%;
}
}
// @media screen and ( max-width:984px) {
// .photoIcon{
// // padding-top: 3.7%;
// }
// }
2 changes: 1 addition & 1 deletion src/Pages/Landing/Landing.scss
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ body {
}
}
}
@media screen and(max-width: 2000px) {
@media screen and ( max-width: 2000px) {
.card {
float: none;
margin: 0 auto;
Expand Down

1 comment on commit b2179cc

@vercel
Copy link

@vercel vercel bot commented on b2179cc Jan 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.